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