| blib/lib/Opsview/REST/Status.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Opsview::REST::Status; | ||||||
| 2 | { | ||||||
| 3 | $Opsview::REST::Status::VERSION = '0.013'; | ||||||
| 4 | } | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 50394 | use Moo; | |||
| 1 | 4 | ||||||
| 1 | 11 | ||||||
| 7 | |||||||
| 8 | has base => ( | ||||||
| 9 | is => 'ro', | ||||||
| 10 | default => sub { '/status/' }, | ||||||
| 11 | init_arg => undef, | ||||||
| 12 | ); | ||||||
| 13 | |||||||
| 14 | with 'Opsview::REST::QueryBuilder'; | ||||||
| 15 | |||||||
| 16 | has '+path' => ( | ||||||
| 17 | required => 1, | ||||||
| 18 | ); | ||||||
| 19 | |||||||
| 20 | __PACKAGE__->meta->make_immutable; | ||||||
| 21 | |||||||
| 22 | 1; | ||||||
| 23 | __END__ |