Sha256: 5fb0ac4323ea7517b91db30753eb1434c738df30d6862cffef5b59770c4325fd

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 Bytes

Contents

require "dropbox-sign"

Dropbox::Sign.configure do |config|
  # Configure HTTP basic authorization: api_key
  config.username = "YOUR_API_KEY"
end

fax_line_api = Dropbox::Sign::FaxLineApi.new

data = Dropbox::Sign::FaxLineAddUserRequest.new
data.number = "[FAX_NUMBER]"
data.email_address = "member@dropboxsign.com"

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dropbox-sign-1.8.0 examples/FaxLineAddUser.rb
dropbox-sign-1.7.0 examples/FaxLineAddUser.rb
dropbox-sign-1.6.1 examples/FaxLineAddUser.rb
dropbox-sign-1.6.0 examples/FaxLineAddUser.rb