Cabinet/Api.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
init
2.0
response
2.0
CRAP 2.0
1 package WebService::Simple::Cabinet::Api;
2  
3 use strict;
4 use warnings;
5  
6 use WebService::Simple;
7  
8 sub new {
9 my($class, %args) = @_;
10  
11 my $self = bless {
12 %args,
13 api => WebService::Simple->new(%{ $args{simple_opts} }),
14 }, $class;
15  
16 $self->init;
17 $self;
18 }
19  
20 sub init {}
21  
22 sub response { shift->{response} }
23  
24 1;