File Coverage

blib/lib/Opsview/REST/Downtime.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::Downtime;
2             {
3             $Opsview::REST::Downtime::VERSION = '0.013';
4             }
5              
6 1     1   38696 use Moo;
  1         3  
  1         11  
7              
8             has base => (
9             is => 'ro',
10             default => sub { '/downtime' },
11             init_arg => undef,
12             );
13              
14             with 'Opsview::REST::QueryBuilder';
15              
16             sub BUILDARGS {
17 3     3 0 17921 my $class = shift;
18             return {
19 3         123 args => { @_ },
20             };
21             }
22              
23             __PACKAGE__->meta->make_immutable;
24              
25             1;
26             __END__