TrueLayer/Types/Beneficiary.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/Remitter.pm ↑ Summary TrueLayer/Types/Remitter.pm »
1 package Business::TrueLayer::Types::Beneficiary;
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::Beneficiary;
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::Beneficiary'
14 => from 'HashRef'
15 9 ▶ => via {
Subroutine __ANON__: called CC=1 SCAR=0.0
16 9 Business::TrueLayer::Beneficiary->new( %{ $_ } );
17 }
18 4 ;
19  
20 4 has beneficiary => (
21 is => 'ro',
22 isa => 'Business::TrueLayer::Beneficiary',
23 coerce => 1,
24 required => 1,
25 );
26  
27 4 1;
28  
29 # vim: ts=4:sw=4:et
« TrueLayer/Remitter.pm ↑ Summary TrueLayer/Types/Remitter.pm »