line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Payjp::Transfer; |
2
|
|
|
|
|
|
|
|
3
|
11
|
|
|
11
|
|
72
|
use strict; |
|
11
|
|
|
|
|
19
|
|
|
11
|
|
|
|
|
301
|
|
4
|
11
|
|
|
11
|
|
57
|
use warnings; |
|
11
|
|
|
|
|
20
|
|
|
11
|
|
|
|
|
268
|
|
5
|
|
|
|
|
|
|
|
6
|
11
|
|
|
11
|
|
55
|
use base 'Net::Payjp'; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
2686
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub retrieve{ |
9
|
1
|
|
|
1
|
1
|
3
|
my $self = shift; |
10
|
1
|
|
|
|
|
3
|
my $id = shift; |
11
|
1
|
50
|
|
|
|
7
|
$self->id($id) if $id; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
9
|
$self->_request(method => 'GET', url => $self->_instance_url); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub all{ |
17
|
1
|
|
|
1
|
1
|
3
|
my $self = shift; |
18
|
1
|
|
|
|
|
4
|
my %p = @_; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
7
|
$self->_request(method => 'GET', url => $self->_class_url, param => \%p); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub charges{ |
24
|
1
|
|
|
1
|
1
|
4
|
my $self = shift; |
25
|
1
|
|
|
|
|
12
|
my %p = @_; |
26
|
|
|
|
|
|
|
|
27
|
1
|
|
|
|
|
4
|
$self->_request(method => 'GET', url => $self->_instance_url.'/charges', param => \%p); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |