File Coverage

blib/lib/Net/Amazon/S3/Request/Role/HTTP/Header/Encryption.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::Role::HTTP::Header::Encryption;
2             # ABSTRACT: x-amz-server-side-encryption header role
3             $Net::Amazon::S3::Request::Role::HTTP::Header::Encryption::VERSION = '0.99';
4 99     99   73585 use Moose::Role;
  99         307  
  99         1117  
5              
6 99     99   547527 use Net::Amazon::S3::Constants;
  99         355  
  99         8220  
7              
8             with 'Net::Amazon::S3::Request::Role::HTTP::Header' => {
9             name => 'encryption',
10             header => Net::Amazon::S3::Constants->HEADER_SERVER_ENCRYPTION,
11             isa => 'Maybe[Str]',
12             required => 0,
13             };
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Net::Amazon::S3::Request::Role::HTTP::Header::Encryption - x-amz-server-side-encryption header role
26              
27             =head1 VERSION
28              
29             version 0.99
30              
31             =head1 AUTHOR
32              
33             Branislav ZahradnĂ­k <barney@cpan.org>
34              
35             =head1 COPYRIGHT AND LICENSE
36              
37             This software is copyright (c) 2021 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav ZahradnĂ­k.
38              
39             This is free software; you can redistribute it and/or modify it under
40             the same terms as the Perl 5 programming language system itself.
41              
42             =cut