Docusign/getRecipientTabs.pm

filter: Statementstmt 59.0% 13 / 22 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 56.6% 17 / 30 CC 2 SCAR 9.8
CC
2
Cov
54%
new
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« Docusign/getEnvelopeRecipients.pm ↑ Summary Docusign/getToken.pm »
1 package Document::eSign::Docusign::getRecipientTabs;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Document::eSign::Docusign::getRecipientTabs - This retrieves information about the tabs associated with a recipien
10  
11 =head1 VERSION
12  
13 Version 0.04
14  
15 =cut
16  
17 =head1 functions
18  
19 =head2 getRecipientTabs($parent, $vars)
20  
21 my $response = $ds->getRecipientTabs(
22 {
23 accountId => $ds->accountid,
24 envelopeId => '1883aef4-82fe-4c36-a9ec-13dd63520df9',
25 recipientId => '1',
26 }
27 );
28
29 print "Got Tabs: " . $response->{Tabs} . "\n";
30
31 =cut
32  
33 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
34 0 ▶ carp( "Got recipient tabs request: " . Dumper(@_) ) if $_[1]->debug;
Branch: 1 branch
BranchTrueFalseTotal
if $_[1]->debug 0 0 0
35 0 my $class = shift;
36 0 my $main = shift;
37 0 my $vars = shift;
38  
39 0 my $self = bless {}, $class;
40  
41 my $uri =
42 q{/envelopes/}
43 . $vars->{envelopeId}
44 . q{/recipients/}
45 . $vars->{recipientId}
46 0 . q{/tabs};
47  
48 0 my $creds = $main->buildCredentials();
49  
50 0 my $response =
51 $main->sendRequest( 'GET', undef, $creds, $main->baseUrl . $uri, $vars );
52  
53 0 return $response;
54 }
55  
56 1 1;
« Docusign/getEnvelopeRecipients.pm ↑ Summary Docusign/getToken.pm »