File Coverage

blib/lib/Net/Amazon/S3/Operation/Object/Delete/Request.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             # ABSTRACT: An internal class to delete an object
2             $Net::Amazon::S3::Operation::Object::Delete::Request::VERSION = '0.991';
3             use Moose 0.85;
4 99     99   638 use Moose::Util::TypeConstraints;
  99         2217  
  99         587  
5 99     99   529658  
  99         255  
  99         850  
6             extends 'Net::Amazon::S3::Request::Object';
7              
8             with 'Net::Amazon::S3::Request::Role::HTTP::Method::DELETE';
9              
10             __PACKAGE__->meta->make_immutable;
11              
12             1;
13              
14              
15             =pod
16              
17             =encoding UTF-8
18              
19             =head1 NAME
20              
21             Net::Amazon::S3::Operation::Object::Delete::Request - An internal class to delete an object
22              
23             =head1 VERSION
24              
25             version 0.991
26              
27             =head1 SYNOPSIS
28              
29             my $http_request = Net::Amazon::S3::Operation::Object::Delete::Request->new (
30             s3 => $s3,
31             bucket => $bucket,
32             key => $key,
33             );
34              
35             =head1 DESCRIPTION
36              
37             Implements operation L<< DeleteObject|https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html >>
38              
39             This module deletes an object.
40              
41             =for test_synopsis no strict 'vars'
42              
43             =head1 METHODS
44              
45             =head2 http_request
46              
47             This method returns a HTTP::Request object.
48              
49             =head1 AUTHOR
50              
51             Branislav Zahradník <barney@cpan.org>
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut