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.010008'; # 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__
« Business/CyberSource/ResponsePart/TaxReply/Item.pm ↑ Summary Business/CyberSource/Role/ForeignCurrency.pm »