File Coverage

blib/lib/Net/Amazon/S3/Operation/Object/Upload/Create/Response.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 11 12 91.6


line stmt bran cond sub pod time code
1             # ABSTRACT: An internal class to handle create multipart upload response
2             $Net::Amazon::S3::Operation::Object::Upload::Create::Response::VERSION = '0.991';
3             use Moose;
4 99     99   673  
  99         255  
  99         730  
5             extends 'Net::Amazon::S3::Response';
6              
7             $_[0]->_data->{upload_id};
8             }
9 1     1 0 918  
10             my ($self) = @_;
11              
12             my $xpc = $self->xpath_context;
13 1     1   19  
14             my $data = {
15 1         24 upload_id => scalar $xpc->findvalue ("//s3:UploadId"),
16             };
17 1         5  
18             return $data;
19             }
20              
21 1         77 1;
22              
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Net::Amazon::S3::Operation::Object::Upload::Create::Response - An internal class to handle create multipart upload response
31              
32             =head1 VERSION
33              
34             version 0.991
35              
36             =head1 DESCRIPTION
37              
38             Implement operation L<< CreateMultipartUpload|https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html >>.
39              
40             =head1 AUTHOR
41              
42             Branislav Zahradník <barney@cpan.org>
43              
44             =head1 COPYRIGHT AND LICENSE
45              
46             This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník.
47              
48             This is free software; you can redistribute it and/or modify it under
49             the same terms as the Perl 5 programming language system itself.
50              
51             =cut