Sha256: c1dd8197dc6021909ab2289e0d3d9ca5c5619402ef2ef3e3ab6b9686bd957481

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

require "dropbox-sign"

Dropbox::Sign.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

template_api = Dropbox::Sign::TemplateApi.new

account_id = "f57db65d3f933b5316d398057a36176831451a35"

begin
  result = template_api.template_list({ account_id: account_id })
  p result
rescue Dropbox::Sign::ApiError => e
  puts "Exception when calling Dropbox Sign API: #{e}"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dropbox-sign-1.8.0 examples/TemplateList.rb
dropbox-sign-1.7.0 examples/TemplateList.rb
dropbox-sign-1.6.1 examples/TemplateList.rb