Iugu/Plans.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 SCAR 6.9
CC
1
Cov
0%
read_by_identifier
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Iugu::Plans;
2 $Net::Iugu::Plans::VERSION = '0.000001';
3 use Moo;
4 extends 'Net::Iugu::CRUD';
5  
6 sub read_by_identifier {
7 my ( $self, $identifier ) = @_;
8  
9 my $uri = $self->endpoint . '/identifier/' . $identifier;
10  
11 return $self->request( GET => $uri );
12 }
13  
14 1;
15  
16 # ABSTRACT: Net::Iugu::Plans - Methods to manage plans
17  
18 __END__