Sha256: 6b9df4d6872d3a9d8e997936cd6229844bbb69259451b6f5637ee06cb254fff0
Contents?: true
Size: 552 Bytes
Versions: 15
Compression:
Stored size: 552 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 account_api = Dropbox::Sign::AccountApi.new data = Dropbox::Sign::AccountUpdateRequest.new data.callback_url = "https://www.example.com/callback" begin result = account_api.account_update(data) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" end
Version data entries
15 entries across 15 versions & 1 rubygems