line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Payjp::Event; |
2
|
|
|
|
|
|
|
|
3
|
11
|
|
|
11
|
|
75
|
use strict; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
302
|
|
4
|
11
|
|
|
11
|
|
54
|
use warnings; |
|
11
|
|
|
|
|
27
|
|
|
11
|
|
|
|
|
291
|
|
5
|
|
|
|
|
|
|
|
6
|
11
|
|
|
11
|
|
58
|
use base 'Net::Payjp'; |
|
11
|
|
|
|
|
25
|
|
|
11
|
|
|
|
|
2171
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub retrieve{ |
9
|
1
|
|
|
1
|
1
|
7
|
my $self = shift; |
10
|
1
|
|
|
|
|
3
|
my $id = shift; |
11
|
1
|
50
|
|
|
|
9
|
$self->id($id) if $id; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
6
|
$self->_request(method => 'GET', url => $self->_instance_url); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub all{ |
17
|
1
|
|
|
1
|
1
|
3
|
my $self = shift; |
18
|
1
|
|
|
|
|
2
|
my %p = @_; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
6
|
$self->_request(method => 'GET', url => $self->_class_url, param => \%p); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |