File Coverage

blib/lib/Business/CyberSource/Response/Role/ReasonCode.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::Response::Role::ReasonCode;
2 4     4   2098 use strict;
  4         8  
  4         96  
3 4     4   16 use warnings;
  4         4  
  4         83  
4 4     4   13 use namespace::autoclean;
  4         3  
  4         22  
5 4     4   584 use Module::Load qw( load );
  4         747  
  4         22  
6              
7             our $VERSION = '0.010007'; # VERSION
8              
9 4     4   226 use Moose::Role;
  4         5  
  4         22  
10 4     4   13277 use MooseX::RemoteHelper;
  4         7  
  4         25  
11 4     4   9903 use MooseX::Types::Common::String 0.001005 qw( NumericCode );
  4         81  
  4         22  
12              
13             has reason_code => (
14             isa => NumericCode,
15             remote_name => 'reasonCode',
16             required => 1,
17             is => 'ro',
18             predicate => 'has_reason_code',
19             );
20              
21             1;
22             # ABSTRACT: Role for ReasonCode
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             Business::CyberSource::Response::Role::ReasonCode - Role for ReasonCode
33              
34             =head1 VERSION
35              
36             version 0.010007
37              
38             =head1 BUGS
39              
40             Please report any bugs or feature requests on the bugtracker website
41             https://github.com/xenoterracide/business-cybersource/issues
42              
43             When submitting a bug or request, please include a test-file or a
44             patch to an existing test-file that illustrates the bug or desired
45             feature.
46              
47             =head1 AUTHOR
48              
49             Caleb Cushing <xenoterracide@gmail.com>
50              
51             =head1 COPYRIGHT AND LICENSE
52              
53             This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
54              
55             This is free software, licensed under:
56              
57             The Artistic License 2.0 (GPL Compatible)
58              
59             =cut