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.98';
4 96     96   76556 use Moose::Role;
  96         282  
  96         1083  
5              
6 96     96   538052 use Net::Amazon::S3::Constants;
  96         332  
  96         7537  
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.98
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