File Coverage

blib/lib/Business/CyberSource/Request/Role/CreditCardInfo.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::Request::Role::CreditCardInfo;
2 4     4   2086 use strict;
  4         6  
  4         101  
3 4     4   16 use warnings;
  4         6  
  4         93  
4 4     4   13 use namespace::autoclean;
  4         4  
  4         22  
5              
6             our $VERSION = '0.010007'; # VERSION
7              
8 4     4   251 use Moose::Role;
  4         5  
  4         23  
9 4     4   13289 use MooseX::RemoteHelper;
  4         6  
  4         27  
10              
11 4     4   9470 use MooseX::Types::CyberSource qw( Card);
  4         5  
  4         27  
12              
13             has card => (
14             isa => Card,
15             remote_name => 'card',
16             required => 1,
17             is => 'ro',
18             coerce => 1,
19             );
20              
21             1;
22              
23             # ABSTRACT: credit card info role
24              
25             __END__
26              
27             =pod
28              
29             =encoding UTF-8
30              
31             =head1 NAME
32              
33             Business::CyberSource::Request::Role::CreditCardInfo - credit card info role
34              
35             =head1 VERSION
36              
37             version 0.010007
38              
39             =head1 ATTRIBUTES
40              
41             =head2 card
42              
43             L<Business::CyberSource::RequestPart::Card>
44              
45             =head1 BUGS
46              
47             Please report any bugs or feature requests on the bugtracker website
48             https://github.com/xenoterracide/business-cybersource/issues
49              
50             When submitting a bug or request, please include a test-file or a
51             patch to an existing test-file that illustrates the bug or desired
52             feature.
53              
54             =head1 AUTHOR
55              
56             Caleb Cushing <xenoterracide@gmail.com>
57              
58             =head1 COPYRIGHT AND LICENSE
59              
60             This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
61              
62             This is free software, licensed under:
63              
64             The Artistic License 2.0 (GPL Compatible)
65              
66             =cut