blib/lib/CloudHealth/API/HTTPRequest.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CloudHealth::API::HTTPRequest; | ||||||
2 | 2 | 2 | 14 | use Moo; | |||
2 | 5 | ||||||
2 | 13 | ||||||
3 | 2 | 2 | 678 | use Types::Standard qw/Str HashRef/; | |||
2 | 4 | ||||||
2 | 27 | ||||||
4 | |||||||
5 | has method => (is => 'rw', isa => Str); | ||||||
6 | has url => (is => 'rw', isa => Str); | ||||||
7 | has headers => (is => 'rw', isa => HashRef); | ||||||
8 | has parameters => (is => 'rw', isa => HashRef); | ||||||
9 | has content => (is => 'rw', isa => Str); | ||||||
10 | |||||||
11 | 1; |