File Coverage

blib/lib/AWS/S3/Request/DeleteFile.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::DeleteFile;
3              
4 1     1   625 use Moose;
  1         1  
  1         8  
5 1     1   5201 use AWS::S3::Signer;
  1         2  
  1         17  
6 1     1   4 use AWS::S3::ResponseParser;
  1         1  
  1         92  
7              
8             with 'AWS::S3::Roles::BucketAction';
9              
10             has '+_action' => ( default => 'DELETE' );
11             has 'bucket' => ( is => 'ro', isa => 'Str', required => 1 );
12             has 'key' => ( is => 'ro', isa => 'Str', required => 1 );
13              
14             has '+_expect_nothing' => ( default => 1 );
15              
16             __PACKAGE__->meta->make_immutable;