TrueLayer/Types/Remitter.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TrueLayer/Types/Beneficiary.pm ↑ Summary TrueLayer/Types/User.pm »
1 package Business::TrueLayer::Types::Remitter;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 ▶use Business::TrueLayer::Remitter;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 coerce 'Business::TrueLayer::Remitter'
14 => from 'HashRef'
15 5 ▶ => via {
Subroutine __ANON__: called CC=1 SCAR=0.0
16 5 Business::TrueLayer::Remitter->new( %{ $_ } );
17 }
18 4 ;
19  
20 4 has remitter => (
21 is => 'ro',
22 isa => 'Business::TrueLayer::Remitter',
23 coerce => 1,
24 required => 0,
25 );
26  
27 4 1;
28  
29 # vim: ts=4:sw=4:et
« TrueLayer/Types/Beneficiary.pm ↑ Summary TrueLayer/Types/User.pm »