File Coverage

blib/lib/Business/CPI/Role/Status.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Business::CPI::Role::Status;
2             # ABSTRACT: Status of operations in the gateway
3 1     1   7307 use Moo::Role;
  1         1  
  1         5  
4 1     1   834 use Types::Standard qw/Bool Str/;
  1         57301  
  1         10  
5              
6             our $VERSION = '0.922'; # VERSION
7              
8             has is_success => (
9             coerce => Bool->coercion,
10             isa => Bool,
11             is => 'ro',
12             required => 1,
13             );
14              
15             has is_in_progress => (
16             coerce => Bool->coercion,
17             isa => Bool,
18             is => 'ro',
19             required => 1,
20             );
21              
22             has is_reverted => (
23             coerce => Bool->coercion,
24             isa => Bool,
25             is => 'ro',
26             required => 1,
27             );
28              
29             has gateway_name => (
30             coerce => Str->coercion,
31             isa => Str,
32             is => 'ro',
33             required => 1,
34             );
35              
36             1;
37              
38             __END__