Skip to content

Commit f493c1c

Browse files
authored
Merge pull request #84 from smcoll/83-list-connect-failures
added DocuSignClient.get_connect_failures
2 parents 2c0523c + 0b37b53 commit f493c1c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pydocusign/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,3 +453,11 @@ def get_template(self, templateId):
453453
.format(accountId=self.account_id,
454454
templateId=templateId)
455455
return self.get(url)
456+
457+
def get_connect_failures(self):
458+
"""GET a list of DocuSign Connect failures."""
459+
if not self.account_url:
460+
self.login_information()
461+
url = '/accounts/{accountId}/connect/failures' \
462+
.format(accountId=self.account_id)
463+
return self.get(url)['failures']

0 commit comments

Comments
 (0)