updateMember function refactored to accept tabs by soe · Pull Request #1 · cloudspokes/Docusign-Embedded-Signing · GitHub
Skip to content

updateMember function refactored to accept tabs#1

Open
soe wants to merge 2 commits into
cloudspokes:masterfrom
soe:cs2026
Open

updateMember function refactored to accept tabs#1
soe wants to merge 2 commits into
cloudspokes:masterfrom
soe:cs2026

Conversation

@soe

@soe soe commented Jan 23, 2013

Copy link
Copy Markdown

2 files (routes/index.js and libs/cloudspokes.js) are changed in refactoring updateMember function.

"updateMember" function is modified to accept 1 more param: memberTabs which is retrieved from DocuSign API.

Please refer to change log here: https://github.com/soe/Docusign-Embedded-Signing/compare/cs2026

In the following gist (https://gist.github.com/4599566#file-tabs-json-output), "tabs" returned in JSON output from DocuSign API response is included for reference.

** Demo: http://docusign-soe.herokuapp.com/sign/a0IZ0000000FyJU/jeffdonthemic/99097A71-5EE0-43DD-A16F-6D0066983910/jdouglas@appirio.com
** Screencast: https://vimeo.com/57982065

tabs to fields mapping

Tabs reference: https://gist.github.com/4599566#file-tabs-json-output
Code reference: https://github.com/soe/Docusign-Embedded-Signing/compare/cs2026#L0R46

Tabs can be mapped out to member's fields inside if/else block.

@soe

soe commented Jan 23, 2013

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant