CPI/Role/Status.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CPI/Role/Item.pm ↑ Summary CPI/Util.pm »
1 package Business::CPI::Role::Status;
2 # ABSTRACT: Status of operations in the gateway
3 1 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Types::Standard qw/Bool Str/;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.924'; # VERSION
7  
8 1 has is_success => (
9 coerce => Bool->coercion,
10 isa => Bool,
11 is => 'ro',
12 required => 1,
13 );
14  
15 1 has is_in_progress => (
16 coerce => Bool->coercion,
17 isa => Bool,
18 is => 'ro',
19 required => 1,
20 );
21  
22 1 has is_reverted => (
23 coerce => Bool->coercion,
24 isa => Bool,
25 is => 'ro',
26 required => 1,
27 );
28  
29 1 has gateway_name => (
30 coerce => Str->coercion,
31 isa => Str,
32 is => 'ro',
33 required => 1,
34 );
35  
36 1 1;
37  
38 __END__
« CPI/Role/Item.pm ↑ Summary CPI/Util.pm »