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.92';
3 1     1   6 use strict;
  1         2  
  1         30  
4              
5 1     1   5 use constant AmericanExpress => "Apple Pay - American Express";
  1         2  
  1         59  
6 1     1   5 use constant MasterCard => "Apple Pay - MasterCard";
  1         2  
  1         35  
7 1     1   4 use constant Visa => "Apple Pay - Visa";
  1         2  
  1         40  
8              
9 1         83 use constant All => [
10             AmericanExpress,
11             MasterCard,
12             Visa
13 1     1   5 ];
  1         1  
14              
15             1;