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 signature_request_api = Dropbox::Sign::SignatureRequestApi.new data = Dropbox::Sign::SignatureRequestUpdateRequest.new data.email_address = "john@example.com" data.signature_id = "78caf2a1d01cd39cea2bc1cbb340dac3" signature_request_id = "2f9781e1a8e2045224d808c153c2e1d3df6f8f2f" begin result = signature_request_api.signature_request_update(signature_request_id, data) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" end