File Coverage

blib/lib/cPanel/APIClient/Response.pm
Criterion Covered Total %
statement 6 9 66.6
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 13 61.5


line stmt bran cond sub pod time code
1             package cPanel::APIClient::Response;
2              
3             # Copyright 2020 cPanel, L. L. C.
4             # All rights reserved.
5             # http://cpanel.net
6             #
7             # This is free software; you can redistribute it and/or modify it under the
8             # same terms as Perl itself. See L.
9              
10 1     1   391 use strict;
  1         3  
  1         28  
11 1     1   5 use warnings;
  1         3  
  1         75  
12              
13             sub new {
14 0     0 0   my ( $class, $struct_hr ) = @_;
15              
16 0           my %self = %$struct_hr;
17              
18 0           return bless \%self, $class;
19             }
20              
21             1;