File Coverage

blib/lib/WWW/VastAI/Invoice.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 4 4 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             package WWW::VastAI::Invoice;
2             our $VERSION = '0.001';
3             # ABSTRACT: Billing invoice wrapper for Vast.ai account history
4              
5 11     11   442 use Moo;
  11         27  
  11         70  
6             extends 'WWW::VastAI::Object';
7              
8 1     1 1 1436 sub type { shift->data->{type} }
9 1     1 1 11 sub source { shift->data->{source} }
10 2     2 1 3429 sub description { shift->data->{description} }
11 1     1 1 9 sub amount { shift->data->{amount} }
12              
13             1;
14              
15             __END__