Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/BulkSendJobList.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
page_size = 20

begin
result = bulk_send_job_api.bulk_send_job_list({page: page, page_size: page_size})
result = bulk_send_job_api.bulk_send_job_list({ page: page, page_size: page_size })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion examples/SignatureRequestList.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
page = 1

begin
result = signature_request_api.signature_request_list({account_id: account_id, page: page})
result = signature_request_api.signature_request_list({ account_id: account_id, page: page })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion examples/TeamInvites.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
email_address = "user@dropboxsign.com"

begin
result = team_api.team_invites({email_address: email_address})
result = team_api.team_invites({ email_address: email_address })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion examples/TemplateList.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
account_id = "f57db65d3f933b5316d398057a36176831451a35"

begin
result = template_api.template_list({account_id: account_id})
result = template_api.template_list({ account_id: account_id })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ gemspec
group :development, :test do
gem 'rake', '~> 13.0.1'
gem 'pry-byebug'
gem 'rubocop', '~> 0.66.0'
gem 'rubocop', '~> 1.66', require: false
gem 'json_spec', '~> 1.1.5'
end
27 changes: 15 additions & 12 deletions sdks/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ GEM
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
jaro_winkler (1.5.6)
json (2.7.2)
json_spec (1.1.5)
multi_json (~> 1.0)
rspec (>= 2.0, < 4.0)
language_server-protocol (3.17.0.3)
method_source (1.1.0)
multi_json (1.15.0)
parallel (1.26.3)
parser (3.3.4.2)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -33,11 +34,10 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
psych (5.1.2)
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.9.2)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -51,19 +51,22 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
psych (>= 3.1.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
stringio (3.1.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (1.5.0)
unicode-display_width (2.5.0)

PLATFORMS
aarch64-linux
Expand All @@ -78,7 +81,7 @@ DEPENDENCIES
pry-byebug
rake (~> 13.0.1)
rspec (~> 3.6, >= 3.6.0)
rubocop (~> 0.66.0)
rubocop (~> 1.66)

BUNDLED WITH
2.3.26
2 changes: 1 addition & 1 deletion sdks/ruby/docs/BulkSendJobApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ page = 1
page_size = 20

begin
result = bulk_send_job_api.bulk_send_job_list({page: page, page_size: page_size})
result = bulk_send_job_api.bulk_send_job_list({ page: page, page_size: page_size })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/docs/SignatureRequestApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ account_id = null
page = 1

begin
result = signature_request_api.signature_request_list({account_id: account_id, page: page})
result = signature_request_api.signature_request_list({ account_id: account_id, page: page })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/docs/TeamApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ team_api = Dropbox::Sign::TeamApi.new
email_address = "user@dropboxsign.com"

begin
result = team_api.team_invites({email_address: email_address})
result = team_api.team_invites({ email_address: email_address })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/docs/TemplateApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ template_api = Dropbox::Sign::TemplateApi.new
account_id = "f57db65d3f933b5316d398057a36176831451a35"

begin
result = template_api.template_list({account_id: account_id})
result = template_api.template_list({ account_id: account_id })
p result
rescue Dropbox::Sign::ApiError => e
puts "Exception when calling Dropbox Sign API: #{e}"
Expand Down
6 changes: 3 additions & 3 deletions sdks/ruby/lib/dropbox-sign/api/account_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def account_create_with_http_info(account_create_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -261,7 +261,7 @@ def account_update_with_http_info(account_update_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -370,7 +370,7 @@ def account_verify_with_http_info(account_verify_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
4 changes: 2 additions & 2 deletions sdks/ruby/lib/dropbox-sign/api/api_app_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def api_app_create_with_http_info(api_app_create_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -428,7 +428,7 @@ def api_app_update_with_http_info(client_id, api_app_update_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/embedded_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def embedded_edit_url_with_http_info(template_id, embedded_edit_url_request, opt
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
8 changes: 4 additions & 4 deletions sdks/ruby/lib/dropbox-sign/api/fax_line_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def fax_line_add_user_with_http_info(fax_line_add_user_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -284,7 +284,7 @@ def fax_line_create_with_http_info(fax_line_create_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -393,7 +393,7 @@ def fax_line_delete_with_http_info(fax_line_delete_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -670,7 +670,7 @@ def fax_line_remove_user_with_http_info(fax_line_remove_user_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
4 changes: 2 additions & 2 deletions sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def oauth_token_generate_with_http_info(o_auth_token_generate_request, opts = {}
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -153,7 +153,7 @@ def oauth_token_refresh_with_http_info(o_auth_token_refresh_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/report_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def report_create_with_http_info(report_create_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
16 changes: 8 additions & 8 deletions sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def signature_request_bulk_create_embedded_with_template_with_http_info(signatur
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -167,7 +167,7 @@ def signature_request_bulk_send_with_template_with_http_info(signature_request_b
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -343,7 +343,7 @@ def signature_request_create_embedded_with_http_info(signature_request_create_em
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -452,7 +452,7 @@ def signature_request_create_embedded_with_template_with_http_info(signature_req
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -1147,7 +1147,7 @@ def signature_request_remind_with_http_info(signature_request_id, signature_requ
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -1323,7 +1323,7 @@ def signature_request_send_with_http_info(signature_request_send_request, opts =
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -1432,7 +1432,7 @@ def signature_request_send_with_template_with_http_info(signature_request_send_w
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -1547,7 +1547,7 @@ def signature_request_update_with_http_info(signature_request_id, signature_requ
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
8 changes: 4 additions & 4 deletions sdks/ruby/lib/dropbox-sign/api/team_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def team_add_member_with_http_info(team_add_member_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -170,7 +170,7 @@ def team_create_with_http_info(team_create_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -718,7 +718,7 @@ def team_remove_member_with_http_info(team_remove_member_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down Expand Up @@ -935,7 +935,7 @@ def team_update_with_http_info(team_update_request, opts = {})
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
header_params['Content-Type'] = content_type
end

post_body = {}
Expand Down
Loading