Docusign/getEnvelopeRecipients.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/changeEnvelopeStatus.pm ↑ Summary Docusign/getRecipientTabs.pm »
1 package Document::eSign::Docusign::getEnvelopeRecipients;
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::getEnvelopeRecipients - This retrieves information about the recipients of an envelope.
10  
11 =head1 VERSION
12  
13 Version 0.04
14  
15 =cut
16  
17 =head1 functions
18  
19 =head2 getEnvelopeRecipients($parent, $vars)
20  
21 my $response = $ds->getEnvelopeRecipients(
22 {
23 accountId => $ds->accountid,
24 envelopeId => '1883aef4-82fe-4c36-a9ec-13dd63520df9', # Found in getListOfEnvelopesInFolders
25 }
26 );
27
28 print "Got envelopeId: " . $response->{envelopeId} . "\n";
29
30 =cut
31  
32 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
33 0 ▶ carp( "Got envelope recipients: " . Dumper(@_) ) if $_[1]->debug;
Branch: 1 branch
BranchTrueFalseTotal
if $_[1]->debug 0 0 0
34 0 my $class = shift;
35 0 my $main = shift;
36 0 my $vars = shift;
37  
38 0 my $self = bless {}, $class;
39  
40 0 my $uri = q{/envelopes/} . $vars->{envelopeId} . q{/recipients};
41  
42 0 my $creds = $main->buildCredentials();
43  
44 0 my $response =
45 $main->sendRequest( 'GET', undef, $creds, $main->baseUrl . $uri, $vars );
46  
47 0 return $response;
48 }
49  
50 1 1;
« Docusign/changeEnvelopeStatus.pm ↑ Summary Docusign/getRecipientTabs.pm »