blib/lib/Paws/Net/GlacierCaller.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« blib/lib/Paws/Net/CallerRole.pm ↑ Summary blib/lib/Paws/Polly/DescribeVoices.pm »
1 package Paws::Net::GlacierCaller;
2 5 ▶ use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶ use JSON::MaybeXS;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 5 with 'Paws::Net::RestJsonCaller';
6  
7 40 ▶ around prepare_request_for_call => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
8 40 my ($orig, $self, @rest) = @_;
9  
10 40 my $request = $self->$orig(@rest);
11 #TODO: assign '-' to AccountId if there is no AccountId. This may need to be done in
12  
13 40 $request->header('x-amz-glacier-version', $self->version);
14
15 40 return $request;
16 5 };
17 5 1;
« blib/lib/Paws/Net/CallerRole.pm ↑ Summary blib/lib/Paws/Polly/DescribeVoices.pm »