| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Net::Async::Github::Common; |
|
2
|
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
192345
|
use strict; |
|
|
9
|
|
|
|
|
26
|
|
|
|
9
|
|
|
|
|
446
|
|
|
4
|
9
|
|
|
9
|
|
56
|
use warnings; |
|
|
9
|
|
|
|
|
18
|
|
|
|
9
|
|
|
|
|
2068
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.013'; # VERSION |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Net::Async::Github::Common - common base class for entities |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 METHODS |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head2 new |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Instantiates. This will expect the L attribute to be passed. |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub new { |
|
21
|
0
|
|
|
0
|
1
|
|
my $self = bless { @_[1..$#_] }, $_[0]; |
|
22
|
0
|
0
|
|
|
|
|
die "no ->github provided" unless $self->github; |
|
23
|
0
|
|
|
|
|
|
$self |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 github |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Returns the top-level L instance. |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
|
31
|
|
|
|
|
|
|
|
|
32
|
0
|
|
|
0
|
1
|
|
sub github { shift->{github} } |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
|
35
|
|
|
|
|
|
|
|