| blib/lib/Opsview/REST/Acknowledge.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 5 | 5 | 100.0 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 | 
| pod | 0 | 1 | 0.0 | 
| total | 7 | 8 | 87.5 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package Opsview::REST::Acknowledge; | ||||||
| 2 | { | ||||||
| 3 | $Opsview::REST::Acknowledge::VERSION = '0.013'; | ||||||
| 4 | } | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 1457 | use Moo; | |||
| 1 | 1 | ||||||
| 1 | 9 | ||||||
| 7 | |||||||
| 8 | has base => ( | ||||||
| 9 | is => 'ro', | ||||||
| 10 | default => sub { '/acknowledge' }, | ||||||
| 11 | init_arg => undef, | ||||||
| 12 | ); | ||||||
| 13 | |||||||
| 14 | with 'Opsview::REST::QueryBuilder'; | ||||||
| 15 | |||||||
| 16 | sub BUILDARGS { | ||||||
| 17 | 4 | 4 | 0 | 20980 | my $class = shift; | ||
| 18 | return { | ||||||
| 19 | 4 | 103 | args => { @_ }, | ||||
| 20 | }; | ||||||
| 21 | } | ||||||
| 22 | |||||||
| 23 | __PACKAGE__->meta->make_immutable; | ||||||
| 24 | |||||||
| 25 | 1; | ||||||
| 26 | __END__ |