File Coverage

blib/lib/Net/Braintree/TransparentRedirect.pm
Criterion Covered Total %
statement 3 18 16.6
branch n/a
condition n/a
subroutine 1 9 11.1
pod 0 8 0.0
total 4 35 11.4


line stmt bran cond sub pod time code
1             package Net::Braintree::TransparentRedirect;
2 1     1   5 use Moose;
  1         1  
  1         7  
3              
4             sub confirm {
5 0     0 0   my($class, $query_string) = @_;
6 0           $class->gateway->transparent_redirect->confirm($query_string);
7             }
8              
9             sub transaction_data {
10 0     0 0   my ($class, $params) = @_;
11 0           $class->gateway->transparent_redirect->transaction_data($params);
12             }
13              
14             sub create_customer_data {
15 0     0 0   my ($class, $params) = @_;
16 0           $class->gateway->transparent_redirect->create_customer_data($params);
17             }
18              
19             sub update_customer_data {
20 0     0 0   my ($class, $params) = @_;
21 0           $class->gateway->transparent_redirect->update_customer_data($params);
22             }
23              
24             sub create_credit_card_data {
25 0     0 0   my ($class, $params) = @_;
26 0           $class->gateway->transparent_redirect->create_credit_card_data($params);
27             }
28              
29             sub update_credit_card_data {
30 0     0 0   my ($class, $params) = @_;
31 0           $class->gateway->transparent_redirect->update_credit_card_data($params);
32             }
33              
34             sub url {
35 0     0 0   my $class = shift;
36 0           $class->gateway->transparent_redirect->url;
37             }
38              
39             sub gateway {
40 0     0 0   Net::Braintree->configuration->gateway;
41             }
42              
43             1;