I want to create docusign template from amazon s3 on Heroku
Closed this issue · 2 comments
east2dd commented
Is there any option to create docusign template from url instead of path?
hoang1417 commented
Yes, there is. Here is the sample code:
require 'open-uri'
file_io = open(remote_file_url)
document_envelope_response = client.create_envelope_from_document(
...
files: [
{io: file_io, name: file_name}
],
status: 'sent'
)
east2dd commented
Tahnks