lib/WebService/Braintree/Transaction/Source.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/Transaction/EscrowStatus.pm ↑ Summary lib/WebService/Braintree/Transaction/Status.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::Transaction::Source;
4 22 $WebService::Braintree::Transaction::Source::VERSION = '1.7';
5 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 WebService::Braintree::Transaction::Source
11  
12 =head1 PURPOSE
13  
14 This class contains constants for transaction sources.
15  
16 =cut
17  
18 =head1 CONSTANTS
19  
20 =over 4
21  
22 =cut
23  
24 =item Api
25  
26 =cut
27  
28 22 ▶use constant Api => 'api';
Subroutine BEGIN: called CC=1 SCAR=0.0
29  
30 =item ControlPanel
31  
32 =cut
33  
34 22 ▶use constant ControlPanel => 'control_panel';
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 =item Recurring
37  
38 =cut
39  
40 22 ▶use constant Recurring => 'recurring';
Subroutine BEGIN: called CC=1 SCAR=0.0
41  
42 =item All
43  
44 This returns an arrayref of all other constants in the order they are defined
45 in this module.
46  
47 =cut
48  
49 22 ▶use constant All => [
Subroutine BEGIN: called CC=1 SCAR=0.0
50 Api,
51 ControlPanel,
52 Recurring,
53 22 ];
54  
55 =back
56  
57 =cut
58  
59 22 1;
60 __END__
« lib/WebService/Braintree/Transaction/EscrowStatus.pm ↑ Summary lib/WebService/Braintree/Transaction/Status.pm »