jondkinney/docusign_rest

I want to create docusign template from amazon s3 on Heroku

Closed this issue · 2 comments

Is there any option to create docusign template from url instead of path?

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'
    )

Tahnks