line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of GitHub-API |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2013 by Chris Weyl. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package GitHub::API::Repo::Hooks; |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
$GitHub::API::Repo::Hooks::VERSION = '0.000000_03'; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: A list of a repository's hooks |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
647
|
use common::sense; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
18
|
1
|
|
|
1
|
|
43
|
use autobox::JSON; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
374
|
use parent 'GitHub::API::Base'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
#use aliased 'GitHub::API::Hook'; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# debugging... |
25
|
|
|
|
|
|
|
#use Smart::Comments '###'; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub all { |
29
|
0
|
|
|
0
|
1
|
|
my $self = shift @_; |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
0
|
|
|
|
return $self->{_hooks} //= $self->_get; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
!!42; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |