File Coverage

blib/lib/WWW/VastAI/User.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::User;
2             our $VERSION = '0.001';
3             # ABSTRACT: Current-user payload wrapper for Vast.ai accounts
4              
5 11     11   456 use Moo;
  11         22  
  11         67  
6             extends 'WWW::VastAI::Object';
7              
8 2     2 1 4339 sub email { shift->data->{email} }
9 1     1 1 6 sub balance { shift->data->{balance} }
10 1     1 1 11 sub ssh_key { shift->data->{ssh_key} }
11 1     1 1 5 sub sid { shift->data->{sid} }
12              
13             1;
14              
15             __END__