blib/lib/WWW/Asana/Role/CanUpdate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 6 | 66.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 6 | 10 | 60.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package WWW::Asana::Role::CanUpdate; | ||||||
2 | BEGIN { | ||||||
3 | 1 | 1 | 897 | $WWW::Asana::Role::CanUpdate::AUTHORITY = 'cpan:GETTY'; | |||
4 | } | ||||||
5 | { | ||||||
6 | $WWW::Asana::Role::CanUpdate::VERSION = '0.003'; | ||||||
7 | } | ||||||
8 | # ABSTRACT: Role for Asana classes which can be updated | ||||||
9 | |||||||
10 | 1 | 1 | 7 | use MooX::Role; | |||
1 | 2 | ||||||
1 | 13 | ||||||
11 | |||||||
12 | requires qw( | ||||||
13 | update_args | ||||||
14 | ); | ||||||
15 | |||||||
16 | sub update { | ||||||
17 | 0 | 0 | 0 | my $self = shift; | |||
18 | 0 | $self->do($self->update_args(@_)); | |||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | __END__ |