File Coverage

blib/lib/AWS/S3/Request/GetFileInfo.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1              
2             package AWS::S3::Request::GetFileInfo;
3              
4 1     1   892 use Moose;
  1         2  
  1         27  
5 1     1   9892 use AWS::S3::Signer;
  1         6  
  1         59  
6 1     1   11 use AWS::S3::ResponseParser;
  1         2  
  1         126  
7              
8             with 'AWS::S3::Roles::BucketAction';
9              
10             has 'bucket' => ( is => 'ro', isa => 'Str', required => 1 );
11             has 'key' => ( is => 'ro', isa => 'Str', required => 1 );
12              
13             has '+_action' => ( default => 'HEAD' );
14             has '+_expect_nothing' => ( default => 0 );
15              
16             __PACKAGE__->meta->make_immutable;