Sha256: 5ea629a5c4335be9ee8c72b202c6f550c692b3b48ddac567823fccdc7d103a4f
Contents?: true
Size: 628 Bytes
Versions: 15
Compression:
Stored size: 628 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 data = Dropbox::Sign::TemplateRemoveUserRequest.new data.email_address = "george@dropboxsign.com" template_id = "21f920ec2b7f4b6bb64d3ed79f26303843046536" begin result = template_api.template_remove_user(template_id, 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