ACME/Registration.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ACME/Challenge/Pending/http_01.pm ↑ Summary ACME/Constants.pm »
1 package Net::ACME::Registration;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 ▶use parent qw( Net::ACME::AccessorBase );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #Expand this as needed.
9 8 ▶use constant _ACCESSORS => qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
10 agreement
11 key
12 terms_of_service
13 uri
14 8 );
15  
16 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
17 2 my ( $class, %opts ) = @_;
18  
19 #Silently (?) reject anything unfamiliar.
20 2 %opts = map { ( $_ => $opts{$_} ) } _ACCESSORS();
21  
22 2 return $class->SUPER::new( %opts );
23 }
24  
25 8 1;
« ACME/Challenge/Pending/http_01.pm ↑ Summary ACME/Constants.pm »