line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::GitHub::V3::Events; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
3
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
12
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.60'; |
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:FAYLAND'; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
201
|
use URI::Escape; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
88
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
with 'Net::GitHub::V3::Query'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
## build methods on fly |
13
|
|
|
|
|
|
|
my %__methods = ( |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
events => { url => '/events' }, |
16
|
|
|
|
|
|
|
repos_events => { url => "/repos/%s/%s/events" }, |
17
|
|
|
|
|
|
|
issues_events => { url => "/repos/%s/%s/issues/events" }, |
18
|
|
|
|
|
|
|
networks_events => { url => "/networks/%s/%s/events" }, |
19
|
|
|
|
|
|
|
orgs_events => { url => "/orgs/%s/events" }, |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
user_received_events => { url => "/users/%s/received_events" }, |
22
|
|
|
|
|
|
|
user_public_received_events => { url => "/users/%s/received_events/public" }, |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
user_events => { url => "/users/%s/events" }, |
25
|
|
|
|
|
|
|
user_public_events => { url => "/users/%s/events/public" }, |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
user_orgs_events => { url => "/users/%s/events/orgs/%s" }, |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
__build_methods(__PACKAGE__, %__methods); |
31
|
|
|
|
|
|
|
|
32
|
1
|
|
|
1
|
|
3
|
no Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
11
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
__END__ |