Sha256: 69d7158f7a2055e4f4104c45ab73c44ecebb932793dc0679850bfa4d6de1ad32

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

require "hellosign-ruby-sdk"

HelloSign.configure do |config|
  # Configure HTTP basic authorization: api_key
  config.username = "YOUR_API_KEY"

  # or, configure Bearer (JWT) authorization: oauth2
  # config.access_token = "YOUR_ACCESS_TOKEN"
end

api = HelloSign::TemplateApi.new

data = HelloSign::TemplateUpdateFilesRequest.new
data.file_url = ["https://app.hellosign.com/docs/example_signature_request.pdf"]

template_id = "5de8179668f2033afac48da1868d0093bf133266"

begin
  result = api.template_update_files(template_id, data)
  p result
rescue HelloSign::ApiError => e
  puts "Exception when calling HelloSign API: #{e}"
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
hellosign-ruby-sdk-6.0.0.pre.beta examples/TemplateUpdateFiles.rb
hellosign-ruby-sdk-6.0.0.pre.beta oas/examples/TemplateUpdateFiles.rb