File Coverage

blib/lib/Business/CyberSource/Role/Currency.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::Role::Currency;
2 10     10   5271 use strict;
  10         21  
  10         274  
3 10     10   34 use warnings;
  10         14  
  10         234  
4 10     10   36 use namespace::autoclean;
  10         10  
  10         62  
5              
6             our $VERSION = '0.010008'; # VERSION
7              
8 10     10   665 use Moose::Role;
  10         12  
  10         70  
9 10     10   34406 use MooseX::RemoteHelper;
  10         21  
  10         74  
10 10     10   52062 use MooseX::Types::Locale::Currency qw( CurrencyCode );
  10         77339  
  10         99  
11              
12             has currency => (
13             isa => CurrencyCode,
14             remote_name => 'currency',
15             is => 'ro',
16             required => 1,
17             );
18              
19             1;
20              
21             # ABSTRACT: Role to apply to requests and responses that require currency
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Business::CyberSource::Role::Currency - Role to apply to requests and responses that require currency
32              
33             =head1 VERSION
34              
35             version 0.010008
36              
37             =head1 BUGS
38              
39             Please report any bugs or feature requests on the bugtracker website
40             https://github.com/hostgator/business-cybersource/issues
41              
42             When submitting a bug or request, please include a test-file or a
43             patch to an existing test-file that illustrates the bug or desired
44             feature.
45              
46             =head1 AUTHOR
47              
48             Caleb Cushing <xenoterracide@gmail.com>
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is Copyright (c) 2017 by Caleb Cushing <xenoterracide@gmail.com>.
53              
54             This is free software, licensed under:
55              
56             The Artistic License 2.0 (GPL Compatible)
57              
58             =cut