docusign_rest
docusign_rest copied to clipboard
Composite template method errors
@madamkiwi an issue has surfaced after your July 14, 2016 commit
Please accept pull request #85 to fix this issue.
Now that the composite template methods ('create_envelope_from_composite_template' and 'get_composite_template') take an argument for files, there are errors if you don't pass files. The first error will occur in the 'create_file_ios' method because 'each_with_index' will be called on nil.
It's quite common to only use server templates and/or inline templates and not replace them with a different document. Therefore files should be optional.
Are there any plans to expand create_envelope_from_composite_template to allow for defining inlineTemplates w/o specifying serverTemplateId. This is useful if you want to replace the underlying document from a template. See: http://stackoverflow.com/questions/29130490/docusign-api-create-envelopes-using-composite-templates
Issue now is that you have to specify the serverTemplateId or more precisely perhaps add the sequence number.
@arielfox #85 merged, thanks!
@rogsmith thanks for the link, I'll have to read that a few more times to grok it.