TrueLayer/Types/User.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/Remitter.pm ↑ Summary TrueLayer/User.pm »
1 package Business::TrueLayer::Types::User;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use Business::TrueLayer::User;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 coerce 'Business::TrueLayer::User'
14 => from 'HashRef'
15 6 ▶ => via {
Subroutine __ANON__: called CC=1 SCAR=0.0
16 6 Business::TrueLayer::User->new( %{ $_ } );
17 }
18 3 ;
19  
20 3 has user => (
21 is => 'ro',
22 isa => 'Business::TrueLayer::User',
23 coerce => 1,
24 required => 1,
25 );
26  
27 3 1;
28  
29 # vim: ts=4:sw=4:et
« TrueLayer/Types/Remitter.pm ↑ Summary TrueLayer/User.pm »