Sha256: e0a74881ec2e8212a46bc3a2d4280524aa748527907fc80df3efc8aa999d030a

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 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::UnclaimedDraftApi.new

data = HelloSign::UnclaimedDraftCreateEmbeddedRequest.new
data.client_id = "ec64a202072370a737edf4a0eb7f4437"
data.file_url = ["https://app.hellosign.com/docs/example_signature_request.pdf"]
data.requester_email_address = "jack@hellosign.com"
data.test_mode = true

begin
  result = api.unclaimed_draft_create_embedded(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/UnclaimedDraftCreateEmbedded.rb
hellosign-ruby-sdk-6.0.0.pre.beta oas/examples/UnclaimedDraftCreateEmbedded.rb