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   2617 use strict;
  4         7  
  4         111  
3 4     4   14 use warnings;
  4         6  
  4         94  
4 4     4   13 use namespace::autoclean;
  4         6  
  4         26  
5 4     4   629 use Module::Load qw( load );
  4         802  
  4         30  
6              
7             our $VERSION = '0.010008'; # VERSION
8              
9 4     4   275 use Moose::Role;
  4         6  
  4         27  
10 4     4   14127 use MooseX::RemoteHelper;
  4         5  
  4         29  
11 4     4   10005 use MooseX::Types::Common::String 0.001005 qw( NumericCode );
  4         104  
  4         27  
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.010008
37              
38             =head1 BUGS
39              
40             Please report any bugs or feature requests on the bugtracker website
41             https://github.com/hostgator/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) 2017 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