File Coverage

blib/lib/Net/Async/Github/Team.pm
Criterion Covered Total %
statement 12 23 52.1
branch 0 4 0.0
condition n/a
subroutine 4 13 30.7
pod 9 9 100.0
total 25 49 51.0


line stmt bran cond sub pod time code
1             package Net::Async::Github::Team;
2              
3 2     2   244087 use strict;
  2         4  
  2         131  
4 2     2   15 use warnings;
  2         4  
  2         240  
5              
6             our $VERSION = '0.013'; # VERSION
7              
8 2     2   22 use parent qw(Net::Async::Github::Common);
  2         4  
  2         16  
9              
10             =head1 NAME
11              
12             Net::Async::Github::Team
13              
14             =head1 DESCRIPTION
15              
16             Autogenerated module.
17              
18             =cut
19              
20 2     2   764 use URI::Template ();
  2         16512  
  2         868  
21              
22             =head1 METHODS
23              
24             =cut
25              
26             =head2 name
27              
28             Provides an accessor for C.
29              
30             =cut
31              
32             sub name {
33             shift->{name}
34 0     0 1   }
35              
36             =head2 slug
37              
38             Provides an accessor for C.
39              
40             =cut
41              
42             sub slug {
43             shift->{slug}
44 0     0 1   }
45              
46             =head2 description
47              
48             Provides an accessor for C.
49              
50             =cut
51              
52             sub description {
53             shift->{description}
54 0     0 1   }
55              
56             =head2 privacy
57              
58             Provides an accessor for C.
59              
60             =cut
61              
62             sub privacy {
63             shift->{privacy}
64 0     0 1   }
65              
66             =head2 permission
67              
68             Provides an accessor for C.
69              
70             =cut
71              
72             sub permission {
73             shift->{permission}
74 0     0 1   }
75              
76             =head2 id
77              
78             Provides an accessor for C.
79              
80             =cut
81              
82             sub id {
83             shift->{id}
84 0     0 1   }
85              
86             =head2 url
87              
88             Provides an accessor for C.
89              
90             =cut
91              
92             sub url {
93             shift->{url}
94 0     0 1   }
95              
96             =head2 members_url
97              
98             Provides an accessor for C.
99              
100             =cut
101              
102             sub members_url {
103             $_[0]->{members_url} =
104             URI::Template->new($_[0]->{members_url})
105 0 0   0 1   unless ref $_[0]->{members_url};
106             shift->{members_url}
107 0           }
108              
109             =head2 repositories_url
110              
111             Provides an accessor for C.
112              
113             =cut
114              
115             sub repositories_url {
116             $_[0]->{repositories_url} =
117             URI::Template->new($_[0]->{repositories_url})
118 0 0   0 1   unless ref $_[0]->{repositories_url};
119             shift->{repositories_url}
120 0           }
121              
122             1;
123