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.98';
4 96     96   740 use Moose 0.85;
  96         2777  
  96         775  
5 96     96   656257 use Moose::Util::TypeConstraints;
  96         279  
  96         1053  
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.98
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