VastAI/HTTPRequest.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
has_content
1.0
CRAP 1.0
« VastAI/Endpoint.pm ↑ Summary VastAI/Invoice.pm »
1 package WWW::VastAI::HTTPRequest;
2 11 our $VERSION = '0.001';
3 # ABSTRACT: Internal HTTP request value object for pluggable IO backends
4  
5 11 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 11 has method => ( is => 'ro', required => 1 );
8 11 has url => ( is => 'ro', required => 1 );
9 1 ▶has headers => ( is => 'ro', default => sub { {} } );
Subroutine __ANON__: called CC=1 SCAR=0.0
10 11 has content => ( is => 'ro' );
11  
12 49 ▶sub has_content { defined shift->content }
Subroutine has_content: called CC=1 SCAR=0.0
Pod documented
13  
14 11 1;
15  
16 __END__
« VastAI/Endpoint.pm ↑ Summary VastAI/Invoice.pm »