File Coverage

blib/lib/Net/Amazon/S3/Operation/Object/Upload/Parts/Request.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             # ABSTRACT: List the parts in a multipart upload.
2             $Net::Amazon::S3::Operation::Object::Upload::Parts::Request::VERSION = '0.991';
3             use Moose 0.85;
4 99     99   662 use MooseX::StrictConstructor 0.16;
  99         2262  
  99         611  
5 99     99   529596 extends 'Net::Amazon::S3::Request::Object';
  99         1663  
  99         687  
6              
7             with 'Net::Amazon::S3::Request::Role::Query::Param::Upload_id';
8             with 'Net::Amazon::S3::Request::Role::HTTP::Method::GET';
9              
10             has 'headers' =>
11             ( is => 'ro', isa => 'HashRef', required => 0, default => sub { {} } );
12              
13             __PACKAGE__->meta->make_immutable;
14              
15             my ($self) = @_;
16              
17 4     4   9 return %{ $self->headers };
18             }
19 4         5  
  4         124  
20             1;
21              
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =head1 NAME
28              
29             Net::Amazon::S3::Operation::Object::Upload::Parts::Request - List the parts in a multipart upload.
30              
31             =head1 VERSION
32              
33             version 0.991
34              
35             =head1 DESCRIPTION
36              
37             Implements an operation L<< ListParts|https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html >>
38              
39             =head1 AUTHOR
40              
41             Branislav Zahradník <barney@cpan.org>
42              
43             =head1 COPYRIGHT AND LICENSE
44              
45             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
46              
47             This is free software; you can redistribute it and/or modify it under
48             the same terms as the Perl 5 programming language system itself.
49              
50             =cut