Skip to content

Commit 490ffc9

Browse files
committed
Fixing issue with "Create a Template" code example
1 parent faf7e45 commit 490ffc9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ group :test do
6363
gem 'capybara', '~> 3.31.0'
6464
gem 'selenium-webdriver', '~> 3.142.7'
6565
# Easy installation and use of chromedriver to run system tests with Chrome
66-
gem 'chromedriver-helper', '~> 1.2.0'
66+
gem 'chromedriver-helper', '~> 2.1.1'
6767
end
6868

6969
gem 'docusign_esign', '~> 3.17.0'
@@ -77,5 +77,3 @@ gem 'omniauth-rails_csrf_protection'
7777
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
7878
gem 'tzinfo-data', '~> 1.2022.1', '>= 1.2022.1'
7979
gem 'wdm', '>= 0.1.0', platforms: %i[mingw mswin x64_mingw]
80-
81-
gem "matrix", "~> 0.4.2"

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,4 +333,4 @@ RUBY VERSION
333333
ruby 3.1.2p20
334334

335335
BUNDLED WITH
336-
2.3.7
336+
2.3.7

app/services/e_sign/eg008_create_template_service.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def make_template_req
4848
# Read the PDF from the disk
4949
# Read files 2 and 3 from a local directory
5050
# The reads could raise an exception if the file is not available!
51+
template_name = args[:template_name]
5152
doc_file = 'World_Wide_Corp_fields.pdf'
5253
base64_file_content = Base64.encode64(File.binread(File.join('data', doc_file)))
5354

0 commit comments

Comments
 (0)