File Coverage

blib/lib/Net/Amazon/S3/Request/Role/HTTP/Header/ACL.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: Headers builders for ACL
2             $Net::Amazon::S3::Request::Role::HTTP::Header::ACL::VERSION = '0.991';
3             use Moose::Role;
4 99     99   51495 use Moose::Util::TypeConstraints;
  99         242  
  99         717  
5 99     99   425963  
  99         248  
  99         838  
6             use Carp ();
7 99     99   180771  
  99         246  
  99         9077  
8             with 'Net::Amazon::S3::Role::ACL';
9              
10             around _request_headers => sub {
11             my ($inner, $self) = @_;
12              
13             return +(
14             $self->$inner,
15             $self->acl ? $self->acl->build_headers : (),
16             );
17             };
18              
19             1;
20              
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             Net::Amazon::S3::Request::Role::HTTP::Header::ACL - Headers builders for ACL
29              
30             =head1 VERSION
31              
32             version 0.991
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) 2022 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