File Coverage

blib/lib/WebService/Braintree/ApplePayCard/CardType.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package WebService::Braintree::ApplePayCard::CardType;
2             $WebService::Braintree::ApplePayCard::CardType::VERSION = '0.93';
3 1     1   7 use strict;
  1         3  
  1         47  
4              
5 1     1   9 use constant AmericanExpress => "Apple Pay - American Express";
  1         3  
  1         120  
6 1     1   10 use constant MasterCard => "Apple Pay - MasterCard";
  1         4  
  1         72  
7 1     1   8 use constant Visa => "Apple Pay - Visa";
  1         3  
  1         92  
8              
9 1         54 use constant All => [
10             AmericanExpress,
11             MasterCard,
12             Visa
13 1     1   9 ];
  1         4  
14              
15             1;