blib/lib/Net/Payjp/Transfer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 12 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 13 | 17 | 76.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::Payjp::Transfer; | ||||||
2 | |||||||
3 | 9 | 9 | 49 | use strict; | |||
9 | 15 | ||||||
9 | 231 | ||||||
4 | 9 | 9 | 43 | use warnings; | |||
9 | 17 | ||||||
9 | 269 | ||||||
5 | |||||||
6 | 9 | 9 | 45 | use base 'Net::Payjp::Resource'; | |||
9 | 16 | ||||||
9 | 1119 | ||||||
7 | |||||||
8 | sub charges{ | ||||||
9 | 0 | 0 | 1 | my $self = shift; | |||
10 | 0 | my %p = @_; | |||||
11 | |||||||
12 | 0 | $self->_request(method => 'GET', url => $self->_instance_url.'/charges', param => \%p); | |||||
13 | } | ||||||
14 | |||||||
15 | 1; |