| 1 | package Net::Amazon::S3::Request::Object; | ||
| 2 | # ABSTRACT: Base class for all S3 Object operations | ||
| 3 | 99 | $Net::Amazon::S3::Request::Object::VERSION = '0.991'; | |
| 4 | 99 | ▶ | use Moose 0.85; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 99 | ▶ | use MooseX::StrictConstructor 0.16; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 99 | extends 'Net::Amazon::S3::Request::Bucket'; | |
| 7 | |||
| 8 | 99 | has key => ( | |
| 9 | is => 'ro', | ||
| 10 | isa => 'Str', | ||
| 11 | required => 1, | ||
| 12 | ); | ||
| 13 | |||
| 14 | override _request_path => sub { | ||
| 15 | 213 | ▶ | my ($self) = @_; |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 213 | return super . (join '/', map {$self->s3->_urlencode($_)} split /\//, $self->key); | |
| 18 | 99 | }; | |
| 19 | |||
| 20 | 99 | __PACKAGE__->meta->make_immutable; | |
| 21 | |||
| 22 | 99 | 1; | |
| 23 | |||
| 24 | __END__ | ||
| 25 | |||
| 26 | =pod | ||
| 27 | |||
| 28 | =encoding UTF-8 | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Net::Amazon::S3::Request::Object - Base class for all S3 Object operations | ||
| 33 | |||
| 34 | =head1 VERSION | ||
| 35 | |||
| 36 | version 0.991 | ||
| 37 | |||
| 38 | =head1 AUTHOR | ||
| 39 | |||
| 40 | Branislav Zahradník <barney@cpan.org> | ||
| 41 | |||
| 42 | =head1 COPYRIGHT AND LICENSE | ||
| 43 | |||
| 44 | This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. | ||
| 45 | |||
| 46 | This is free software; you can redistribute it and/or modify it under | ||
| 47 | the same terms as the Perl 5 programming language system itself. | ||
| 48 | |||
| 49 | =cut | ||