Skip to content

Commit f7ac484

Browse files
committed
updating files
1 parent 3a17839 commit f7ac484

92 files changed

Lines changed: 677 additions & 677 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/AccountCreateExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
account_create_request = Dropbox::Sign::AccountCreateRequest.new
1010
account_create_request.email_address = "newuser@dropboxsign.com"
1111

1212
begin
13-
response = Dropbox::Sign::AccountApi.new.account_create(
14-
account_create_request,
15-
)
13+
response = Dropbox::Sign::AccountApi.new.account_create(
14+
account_create_request,
15+
)
1616

17-
p response
17+
p response
1818
rescue Dropbox::Sign::ApiError => e
19-
puts "Exception when calling AccountApi#account_create: #{e}"
19+
puts "Exception when calling AccountApi#account_create: #{e}"
2020
end

examples/AccountCreateOauthExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
account_create_request = Dropbox::Sign::AccountCreateRequest.new
@@ -12,11 +12,11 @@
1212
account_create_request.client_secret = "1d14434088507ffa390e6f5528465"
1313

1414
begin
15-
response = Dropbox::Sign::AccountApi.new.account_create(
16-
account_create_request,
17-
)
15+
response = Dropbox::Sign::AccountApi.new.account_create(
16+
account_create_request,
17+
)
1818

19-
p response
19+
p response
2020
rescue Dropbox::Sign::ApiError => e
21-
puts "Exception when calling AccountApi#account_create: #{e}"
21+
puts "Exception when calling AccountApi#account_create: #{e}"
2222
end

examples/AccountGetExample.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
begin
10-
response = Dropbox::Sign::AccountApi.new.account_get
10+
response = Dropbox::Sign::AccountApi.new.account_get
1111

12-
p response
12+
p response
1313
rescue Dropbox::Sign::ApiError => e
14-
puts "Exception when calling AccountApi#account_get: #{e}"
14+
puts "Exception when calling AccountApi#account_get: #{e}"
1515
end

examples/AccountUpdateExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
account_update_request = Dropbox::Sign::AccountUpdateRequest.new
1010
account_update_request.callback_url = "https://www.example.com/callback"
1111
account_update_request.locale = "en-US"
1212

1313
begin
14-
response = Dropbox::Sign::AccountApi.new.account_update(
15-
account_update_request,
16-
)
14+
response = Dropbox::Sign::AccountApi.new.account_update(
15+
account_update_request,
16+
)
1717

18-
p response
18+
p response
1919
rescue Dropbox::Sign::ApiError => e
20-
puts "Exception when calling AccountApi#account_update: #{e}"
20+
puts "Exception when calling AccountApi#account_update: #{e}"
2121
end

examples/AccountVerifyExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
account_verify_request = Dropbox::Sign::AccountVerifyRequest.new
1010
account_verify_request.email_address = "some_user@dropboxsign.com"
1111

1212
begin
13-
response = Dropbox::Sign::AccountApi.new.account_verify(
14-
account_verify_request,
15-
)
13+
response = Dropbox::Sign::AccountApi.new.account_verify(
14+
account_verify_request,
15+
)
1616

17-
p response
17+
p response
1818
rescue Dropbox::Sign::ApiError => e
19-
puts "Exception when calling AccountApi#account_verify: #{e}"
19+
puts "Exception when calling AccountApi#account_verify: #{e}"
2020
end

examples/ApiAppCreateExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
oauth = Dropbox::Sign::SubOAuth.new
@@ -27,11 +27,11 @@
2727
api_app_create_request.white_labeling_options = white_labeling_options
2828

2929
begin
30-
response = Dropbox::Sign::ApiAppApi.new.api_app_create(
31-
api_app_create_request,
32-
)
30+
response = Dropbox::Sign::ApiAppApi.new.api_app_create(
31+
api_app_create_request,
32+
)
3333

34-
p response
34+
p response
3535
rescue Dropbox::Sign::ApiError => e
36-
puts "Exception when calling ApiAppApi#api_app_create: #{e}"
36+
puts "Exception when calling ApiAppApi#api_app_create: #{e}"
3737
end

examples/ApiAppDeleteExample.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
begin
10-
Dropbox::Sign::ApiAppApi.new.api_app_delete(
11-
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
12-
)
10+
Dropbox::Sign::ApiAppApi.new.api_app_delete(
11+
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
12+
)
1313
rescue Dropbox::Sign::ApiError => e
14-
puts "Exception when calling ApiAppApi#api_app_delete: #{e}"
14+
puts "Exception when calling ApiAppApi#api_app_delete: #{e}"
1515
end

examples/ApiAppGetExample.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
begin
10-
response = Dropbox::Sign::ApiAppApi.new.api_app_get(
11-
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
12-
)
10+
response = Dropbox::Sign::ApiAppApi.new.api_app_get(
11+
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
12+
)
1313

14-
p response
14+
p response
1515
rescue Dropbox::Sign::ApiError => e
16-
puts "Exception when calling ApiAppApi#api_app_get: #{e}"
16+
puts "Exception when calling ApiAppApi#api_app_get: #{e}"
1717
end

examples/ApiAppListExample.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
begin
10-
response = Dropbox::Sign::ApiAppApi.new.api_app_list(
11-
{
12-
page: 1,
13-
page_size: 20,
14-
},
15-
)
10+
response = Dropbox::Sign::ApiAppApi.new.api_app_list(
11+
{
12+
page: 1,
13+
page_size: 20,
14+
},
15+
)
1616

17-
p response
17+
p response
1818
rescue Dropbox::Sign::ApiError => e
19-
puts "Exception when calling ApiAppApi#api_app_list: #{e}"
19+
puts "Exception when calling ApiAppApi#api_app_list: #{e}"
2020
end

examples/ApiAppUpdateExample.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
require "dropbox-sign"
33

44
Dropbox::Sign.configure do |config|
5-
config.username = "YOUR_API_KEY"
6-
# config.access_token = "YOUR_ACCESS_TOKEN"
5+
config.username = "YOUR_API_KEY"
6+
# config.access_token = "YOUR_ACCESS_TOKEN"
77
end
88

99
oauth = Dropbox::Sign::SubOAuth.new
@@ -28,12 +28,12 @@
2828
api_app_update_request.white_labeling_options = white_labeling_options
2929

3030
begin
31-
response = Dropbox::Sign::ApiAppApi.new.api_app_update(
32-
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
33-
api_app_update_request,
34-
)
31+
response = Dropbox::Sign::ApiAppApi.new.api_app_update(
32+
"0dd3b823a682527788c4e40cb7b6f7e9", # client_id
33+
api_app_update_request,
34+
)
3535

36-
p response
36+
p response
3737
rescue Dropbox::Sign::ApiError => e
38-
puts "Exception when calling ApiAppApi#api_app_update: #{e}"
38+
puts "Exception when calling ApiAppApi#api_app_update: #{e}"
3939
end

0 commit comments

Comments
 (0)