lib/WebService/Braintree/MerchantGateway.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 81.8% 18 / 22 CC 1 SCAR 1.8
CC
1
Cov
88%
provision_raw_apple_pay
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/WebService/Braintree/DiscountGateway.pm ↑ Summary lib/WebService/Braintree/PlanGateway.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package # hide from pause
4 WebService::Braintree::MerchantGateway;
5  
6 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 22 with 'WebService::Braintree::Role::MakeRequest';
11  
12 22 ▶use WebService::Braintree::_::Merchant;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 0 ▶sub provision_raw_apple_pay {
Subroutine provision_raw_apple_pay: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my $self = shift;
16 0 $self->_make_request("/provision_raw_apply_pay", "put", undef);
17 }
18  
19 # This is in the Ruby SDK in the MerchantGateway class for use within the
20 # tests, but it returns a 404 when I tried it against my sandbox. I am leaving
21 # it in here until I figure out why this doesn't work.
22 #sub create {
23 # my ($self, $params) = @_;
24 # $self->_make_request("/merchants/create_via_api", "post", {merchant => $params});
25 #}
26  
27 22 __PACKAGE__->meta->make_immutable;
28  
29 22 1;
30 __END__
« lib/WebService/Braintree/DiscountGateway.pm ↑ Summary lib/WebService/Braintree/PlanGateway.pm »