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