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