| 1 | package WWW::Gitea::Comment; | ||||||||||
| 2 | |||||||||||
| 3 | # ABSTRACT: Gitea issue/pull-request comment entity | ||||||||||
| 4 | |||||||||||
| 5 | 5 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 5 | ▶ | use namespace::clean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | |||||||||||
| 9 | 5 | has _client => ( | |||||||||
| 10 | is => 'ro', | ||||||||||
| 11 | required => 1, | ||||||||||
| 12 | weak_ref => 1, | ||||||||||
| 13 | init_arg => 'client', | ||||||||||
| 14 | ); | ||||||||||
| 15 | |||||||||||
| 16 | 5 | has data => ( | |||||||||
| 17 | is => 'rw', | ||||||||||
| 18 | required => 1, | ||||||||||
| 19 | ); | ||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | 0 | ▶ | sub id { $_[0]->data->{id} } | ||||||||
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 23 | 0 | ▶ | sub body { $_[0]->data->{body} } | ||||||||
|
Subroutine
body: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 24 | 0 | ▶ | sub html_url { $_[0]->data->{html_url} } | ||||||||
|
Subroutine
html_url: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 25 | 0 | ▶ | sub created_at { $_[0]->data->{created_at} } | ||||||||
|
Subroutine
created_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 26 | 0 | ▶ | sub updated_at { $_[0]->data->{updated_at} } | ||||||||
|
Subroutine
updated_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 27 | 0 | ▶ | sub user_login { my $u = $_[0]->data->{user}; $u ? $u->{login} : undef } | ||||||||
|
Subroutine
user_login: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||
| 28 | |||||||||||
| 29 | |||||||||||
| 30 | |||||||||||
| 31 | 5 | 1; | |||||||||
| 32 | |||||||||||
| 33 | __END__ | ||||||||||