Skip to content

Commit 7da0b5e

Browse files
authored
Merge pull request #162 from docusign/fix/fixes-for-new-selenium-tests
Fix error display for admin examples and add webforms gem to a Gemfile
2 parents 64849c5 + 1e886dc commit 7da0b5e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ gem 'docusign_esign', '~> 4.0.0.rc1'
7474
gem 'docusign_maestro', '~> 2.0.0.rc1'
7575
gem 'docusign_monitor', '~> 1.2.0'
7676
gem 'docusign_rooms', '~> 1.3.0'
77+
gem 'docusign_webforms', '~> 1.0.0'
7778
gem 'omniauth-oauth2', '~> 1.8.0'
7879
gem 'omniauth-rails_csrf_protection'
7980

Gemfile.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ GEM
141141
json (~> 2.1, >= 2.1.0)
142142
jwt (~> 2.2, >= 2.2.1)
143143
typhoeus (~> 1.0, >= 1.0.1)
144+
docusign_webforms (1.0.0)
145+
addressable (~> 2.7, >= 2.7.0)
146+
json (~> 2.1, >= 2.1.0)
147+
jwt (~> 2.2, >= 2.2.1)
148+
typhoeus (~> 1.0, >= 1.0.1)
144149
drb (2.2.1)
145150
erubi (1.13.0)
146151
ethon (0.16.0)
@@ -390,6 +395,7 @@ DEPENDENCIES
390395
docusign_maestro (~> 2.0.0.rc1)
391396
docusign_monitor (~> 1.2.0)
392397
docusign_rooms (~> 1.3.0)
398+
docusign_webforms (~> 1.0.0)
393399
jbuilder (~> 2.11.5)
394400
listen (~> 3.9.0)
395401
matrix (~> 0.4.2)

app/controllers/eg_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def check_auth(api)
9292
def handle_error(e)
9393
error = JSON.parse e.response_body
9494
@error_code = e.code || error['errorCode']
95-
@error_message = error['error_description'] || error['message']
95+
@error_message = error['error_description'] || error['message'] || error['error']
9696
render 'ds_common/error'
9797
end
9898

0 commit comments

Comments
 (0)