File Coverage

blib/lib/CloudHealth/API/Call/RetrieveAllPerspectives.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package CloudHealth::API::Call::RetrieveAllPerspectives;
2 1     1   637 use Moo;
  1         2  
  1         8  
3 1     1   858 use MooX::StrictConstructor;
  1         2725  
  1         5  
4 1     1   3487 use Types::Standard qw/Str Int Bool/;
  1         3  
  1         15  
5              
6             has active_only => (is => 'ro', isa => Bool);
7              
8             sub _query_params { [
9 2     2   11 { name => 'active_only' }
10             ] }
11 2     2   7 sub _url_params { [ ] }
12 2     2   40 sub _method { 'GET' }
13 2     2   6 sub _url { 'https://chapi.cloudhealthtech.com/v1/perspective_schemas' }
14              
15             1;