Request/Role/Money.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 32 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Request/Role/Authorization.pm ↑ Summary Request/Role/Profile.pm »
1 package Business::PaperlessTrans::Request::Role::Money;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.002000'; # VERSION
7  
8 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use MooseX::RemoteHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use MooseX::Types::Common::Numeric qw( PositiveOrZeroNum );
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use MooseX::Types::Locale::Currency qw( CurrencyCode );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 2 has amount => (
14 remote_name => 'Amount',
15 isa => PositiveOrZeroNum,
16 is => 'ro',
17 required => 1,
18 );
19  
20 2 has currency => (
21 remote_name => 'Currency',
22 isa => CurrencyCode,
23 is => 'ro',
24 required => 1,
25 );
26  
27 2 1;
28 # ABSTRACT: Money Attributes
29  
30 __END__
« Request/Role/Authorization.pm ↑ Summary Request/Role/Profile.pm »