Braintree/SettlementBatchSummary.pm

filter: Statementstmt 50.0% 5 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 25.0% 1 / 4 Podpod 0.0% 0 / 3 totaltotal 35.2% 6 / 17 CC 1 SCAR 5.6
CC
1
Cov
50%
BUILD
2.0
generate
2.0
gateway
2.0
CRAP 1.8
« Braintree/Disbursement.pm ↑ Summary Braintree/WebhookTesting.pm »
1 package Net::Braintree::SettlementBatchSummary;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 extends 'Net::Braintree::ResultObject';
4  
5 0 ▶sub BUILD {
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod undocumented
6 0 my ($self, $attributes) = @_;
7 0 $self->set_attributes_from_hash($self, $attributes);
8 }
9  
10 0 ▶sub generate {
Subroutine generate: not called CC=1 SCAR=6.9
Pod undocumented
11 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 0 ▶sub gateway {
Subroutine gateway: not called CC=1 SCAR=6.9
Pod undocumented
16 0 return Net::Braintree->configuration->gateway;
17 }
18  
19 1 1;
« Braintree/Disbursement.pm ↑ Summary Braintree/WebhookTesting.pm »