Business/CyberSource/Role/Currency.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Business/CyberSource/ResponsePart/TaxReply/Item.pm ↑ Summary Business/CyberSource/Role/ForeignCurrency.pm »
1 package Business::CyberSource::Role::Currency;
2 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 our $VERSION = '0.010007'; # VERSION
7  
8 13 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 ▶use MooseX::RemoteHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 13 ▶use MooseX::Types::Locale::Currency qw( CurrencyCode );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 13 has currency => (
13 isa => CurrencyCode,
14 remote_name => 'currency',
15 is => 'ro',
16 required => 1,
17 );
18  
19 13 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.010007
36  
37 =head1 BUGS
38  
39 Please report any bugs or feature requests on the bugtracker website
40 https://github.com/xenoterracide/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) 2016 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
« Business/CyberSource/ResponsePart/TaxReply/Item.pm ↑ Summary Business/CyberSource/Role/ForeignCurrency.pm »