Sha256: 22456c355f27a04d94055503891936e09ec89c86945298004a9db648cfebc891
Contents?: true
Size: 531 Bytes
Versions: 15
Compression:
Stored size: 531 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 data = Dropbox::Sign::TeamAddMemberRequest.new data.email_address = "george@example.com" begin result = team_api.team_add_member(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