File Coverage

blib/lib/Net/Amazon/S3/Request/Bucket.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::Request::Bucket;
2             # ABSTRACT: Base class for all S3 Bucket operations
3             $Net::Amazon::S3::Request::Bucket::VERSION = '0.99';
4 99     99   61048 use Moose 0.85;
  99         2001  
  99         830  
5 99     99   644779 use MooseX::StrictConstructor 0.16;
  99         1967  
  99         662  
6             extends 'Net::Amazon::S3::Request::Service';
7              
8             with 'Net::Amazon::S3::Role::Bucket';
9              
10             override _request_path => sub {
11             my ($self) = @_;
12              
13             return super . $self->bucket->bucket . "/";
14             };
15              
16             __PACKAGE__->meta->make_immutable;
17              
18             1;
19              
20             __END__
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             Net::Amazon::S3::Request::Bucket - Base class for all S3 Bucket operations
29              
30             =head1 VERSION
31              
32             version 0.99
33              
34             =head1 AUTHOR
35              
36             Branislav ZahradnĂ­k <barney@cpan.org>
37              
38             =head1 COPYRIGHT AND LICENSE
39              
40             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav ZahradnĂ­k.
41              
42             This is free software; you can redistribute it and/or modify it under
43             the same terms as the Perl 5 programming language system itself.
44              
45             =cut