File Coverage

blib/lib/Net/Braintree/SettlementBatchSummary.pm
Criterion Covered Total %
statement 3 8 37.5
branch n/a
condition n/a
subroutine 1 4 25.0
pod 0 3 0.0
total 4 15 26.6


line stmt bran cond sub pod time code
1             package Net::Braintree::SettlementBatchSummary;
2 1     1   6 use Moose;
  1         2  
  1         8  
3             extends 'Net::Braintree::ResultObject';
4              
5             sub BUILD {
6 0     0 0   my ($self, $attributes) = @_;
7 0           $self->set_attributes_from_hash($self, $attributes);
8             }
9              
10             sub generate {
11 0     0 0   my($class, $settlement_date, $group_by_custom_field) = @_;
12 0           $class->gateway->settlement_batch_summary->generate($settlement_date, $group_by_custom_field);
13             }
14              
15             sub gateway {
16 0     0 0   return Net::Braintree->configuration->gateway;
17             }
18              
19             1;