Sha256: 82a81bafd8cc0491d5e567ccf51f19616caf4e3d6ac0166e528955c8fcfaeb5e
Contents?: true
Size: 529 Bytes
Versions: 15
Compression:
Stored size: 529 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 template_id = "5de8179668f2033afac48da1868d0093bf133266" begin result = template_api.template_files_as_file_url(template_id) 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