Sha256: e09af5d5e278d78513a3e81d4b6fed6a0963a1df8885e58b2ee377d7492e512e

Contents?: true

Size: 504 Bytes

Versions: 12

Compression:

Stored size: 504 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

team_api = Dropbox::Sign::TeamApi.new

email_address = "user@dropboxsign.com"

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dropbox-sign-1.6.0 examples/TeamInvites.rb
dropbox-sign-1.5.0 examples/TeamInvites.rb
dropbox-sign-1.4.1 examples/TeamInvites.rb
dropbox-sign-1.4.0 examples/TeamInvites.rb
dropbox-sign-1.3.0 examples/TeamInvites.rb
dropbox-sign-1.2.0 examples/TeamInvites.rb
dropbox-sign-1.1.2 examples/TeamInvites.rb
dropbox-sign-1.1.1 examples/TeamInvites.rb
dropbox-sign-1.1.0 examples/TeamInvites.rb
dropbox-sign-1.0.1 examples/TeamInvites.rb
dropbox-sign-1.0.0 examples/TeamInvites.rb
dropbox-sign-1.0.0.pre.beta2301 examples/TeamInvites.rb