Sha256: 0a80b6e4605a5a34c27abb086259092d8b74b69371e0687aaf55eb720c31978d

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 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::AccountApi.new

data = HelloSign::AccountUpdateRequest.new
data.callback_url = "https://www.example.com/callback"

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