File Coverage

blib/lib/Net/Async/Github/Comment.pm
Criterion Covered Total %
statement 9 18 50.0
branch 0 2 0.0
condition n/a
subroutine 3 11 27.2
pod 7 8 87.5
total 19 39 48.7


line stmt bran cond sub pod time code
1             package Net::Async::Github::Comment;
2              
3 2     2   206679 use strict;
  2         8  
  2         102  
4 2     2   13 use warnings;
  2         5  
  2         206  
5              
6             our $VERSION = '0.013'; # VERSION
7              
8 2     2   38 use parent qw(Net::Async::Github::Common);
  2         14  
  2         18  
9              
10             =head1 NAME
11              
12             Net::Async::Github::Comment
13              
14             =head1 DESCRIPTION
15              
16             Autogenerated module.
17              
18             =cut
19              
20             =head1 METHODS
21              
22             =cut
23              
24             =head2 url
25              
26             Provides an accessor for C.
27              
28             =cut
29              
30             sub url {
31             shift->{url}
32 0     0 1   }
33              
34             =head2 id
35              
36             Provides an accessor for C.
37              
38             =cut
39              
40             sub id {
41             shift->{id}
42 0     0 1   }
43              
44             =head2 node_id
45              
46             Provides an accessor for C.
47              
48             =cut
49              
50             sub node_id {
51             shift->{node_id}
52 0     0 1   }
53              
54             =head2 user
55              
56             Provides an accessor for C.
57              
58             =cut
59              
60             sub user {
61             $_[0]->{user} =
62             Net::Async::Github::User->new($_[0]->{user})
63 0 0   0 1   unless ref $_[0]->{user};
64             shift->{user}
65 0           }
66              
67             =head2 body
68              
69             Provides an accessor for C.
70              
71             =cut
72              
73             sub body {
74             shift->{body}
75 0     0 1   }
76              
77             =head2 created_at
78              
79             Provides an accessor for C.
80              
81             =cut
82              
83             sub created_at {
84             shift->{created_at}
85 0     0 1   }
86              
87             =head2 updated_at
88              
89             Provides an accessor for C.
90              
91             =cut
92              
93             sub updated_at {
94             shift->{updated_at}
95 0     0 1   }
96              
97 0     0 0   sub reactions { shift->{reactions} }
98              
99             1;
100