Account.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 82.3% 14 / 17 CC 1 SCAR 2.2
CC
1
Cov
83%
Account
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Technology.pm ↑ Summary Logs.pm »
1 package Tomba::Account;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use parent 'Tomba::Client';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Tomba::Account - Account information for the Tomba.io API
10  
11 =head1 SYNOPSIS
12  
13 use Tomba::Account;
14  
15 my $tomba = Tomba::Account->new("ta_xxxxx", "ts_xxxxx");
16 my $account = $tomba->Account();
17  
18 =head1 DESCRIPTION
19  
20 Retrieve information about the current Tomba account.
21  
22 =cut
23  
24 #-------------------------------------------------------------------------------
25 # Account
26 #-------------------------------------------------------------------------------
27  
28 =head2 Account
29  
30 my $data = $tomba->Account();
31  
32 Returns information about the current account.
33  
34 See L<https://docs.tomba.io/api/account#get-me>
35  
36 =cut
37  
38 0 ▶sub Account {
Subroutine Account: not called CC=1 SCAR=6.9
Pod documented
39 0 my ($self) = @_;
40 0 return $self->call(Tomba::Client::ACCOUNT_PATH);
41 }
42  
43 4 1;
44 __END__
« Technology.pm ↑ Summary Logs.pm »