Sha256: 5e88c189bb87b511148a6232fbf3e05a52908840778cbae3a870b226a34777e7

Contents?: true

Size: 435 Bytes

Versions: 9

Compression:

Stored size: 435 Bytes

Contents

require "dropbox-sign"

oauth_api = Dropbox::Sign::OAuthApi.new

data = Dropbox::Sign::OAuthTokenGenerateRequest.new
data.state = "900e06e2"
data.code = "1b0d28d90c86c141"
data.client_id = "cc91c61d00f8bb2ece1428035716b"
data.client_secret = "1d14434088507ffa390e6f5528465"

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dropbox-sign-1.8.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.7.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.6.1 examples/OauthTokenGenerate.rb
dropbox-sign-1.6.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.5.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.4.1 examples/OauthTokenGenerate.rb
dropbox-sign-1.4.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.3.0 examples/OauthTokenGenerate.rb
dropbox-sign-1.2.0 examples/OauthTokenGenerate.rb