hellosign-ruby-sdk 3.6.3 → 3.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e99241970758f529d3b71de9f531513cdb9eef25
4
- data.tar.gz: affbea4a354ddf1857641dbbfcdf88fe23e990ae
3
+ metadata.gz: c606f925b0c1d4159de9fec7c289c8ed8c5ecf8b
4
+ data.tar.gz: e119b7b6bdb0a585a3b62895a693e89b8abbfb99
5
5
  SHA512:
6
- metadata.gz: e2fbad63c16e0727f698b22000c0a357f2d510c142534854b2c1db9dacdf761f11fd75ecfb191f2aaa85f6bce2033f438ec1ac4bb16af1640b1fae78ec9da13a
7
- data.tar.gz: df9c2cf49ac324f55f53fb707feb30d049ad0f9b54641122551856564aa3f07255f59b07261b3c88bbe9b91ad8cb5f4d80020f96642ca44b693935a160fe2639
6
+ metadata.gz: a0de2b0c8812badc24974d0cfe0b29b442b0e649866aa292db8f5b5c3d6b9dc4a22290489b17db31c134a0955a49b0fcc3dc9f75313ed2b02efc3c57a3123990
7
+ data.tar.gz: 0a8927130e69a80f8998afffc03c5470b55fe5ae51fbe43676468ad7391a9c3366958f3e0ff50cbfb34309225df6499a359e25757b8a9a3e38b6971e35e07e92
@@ -88,6 +88,7 @@ module HelloSign
88
88
  # * :order (Integer) The order the signer is required to sign in
89
89
  # * :pin (Integer) The 4- to 12-character access code that will secure this signer's signature page. You must have a business plan to use this feature.
90
90
  # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed.
91
+ # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags.
91
92
  # @option opts [String] form_fields_per_document
92
93
  #
93
94
  # @return [HelloSign::Resource::SignatureRequest] a SignatureRequest
@@ -122,6 +123,7 @@ module HelloSign
122
123
  prepare_files opts
123
124
  prepare_signers opts
124
125
  prepare_form_fields opts
126
+ prepare_custom_fields opts
125
127
 
126
128
  HelloSign::Resource::SignatureRequest.new post('/signature_request/send', :body => opts)
127
129
  end
@@ -290,6 +292,7 @@ module HelloSign
290
292
  # * :order (Integer) The order the signer is required to sign in
291
293
  # * :pin (Integer) The 4- to 12-character access code that will secure this signer's signature page. You must have a business plan to use this feature.
292
294
  # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed.
295
+ # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags.
293
296
  # @option opts [String] form_fields_per_document
294
297
  # @option opts [Integer] ux_version sets the version of the signer page to use
295
298
  #
@@ -325,6 +328,7 @@ module HelloSign
325
328
  prepare_files opts
326
329
  prepare_signers opts
327
330
  prepare_form_fields opts
331
+ prepare_custom_fields opts
328
332
 
329
333
  HelloSign::Resource::SignatureRequest.new post('/signature_request/create_embedded', :body => opts)
330
334
  end
@@ -55,6 +55,7 @@ module HelloSign
55
55
  # * :order (Integer) The order the signer is required to sign in (optional)
56
56
  # * :pin (Integer) The 4-digit code that will secure this signer's signature page. You must have a business plan to use this feature. (optional)
57
57
  # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed.
58
+ # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags.
58
59
  # @option opts [String] form_fields_per_document
59
60
  #
60
61
  # @return [HelloSign::Resource::UnclaimedDraft] a UnclaimedDraft object
@@ -91,6 +92,8 @@ module HelloSign
91
92
  def create_unclaimed_draft opts
92
93
  prepare_files opts
93
94
  prepare_form_fields opts
95
+ prepare_custom_fields opts
96
+
94
97
  if opts[:type] == 'request_signature'
95
98
  prepare_signers opts
96
99
  end
@@ -116,6 +119,7 @@ module HelloSign
116
119
  # * :order (Integer) The order the signer is required to sign in (optional)
117
120
  # * :pin (Integer) The 4-digit code that will secure this signer's signature page. You must have a business plan to use this feature. (optional)
118
121
  # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed.
122
+ # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags.
119
123
  #
120
124
  # @return [HelloSign::Resource::UnclaimedDraft] a UnclaimedDraft object
121
125
  #
@@ -147,6 +151,8 @@ module HelloSign
147
151
  def create_embedded_unclaimed_draft(opts)
148
152
  opts[:client_id] ||= self.client_id
149
153
  prepare_files opts
154
+ prepare_custom_fields opts
155
+
150
156
  if opts[:type] == 'request_signature' || opts[:type] == 'send_document'
151
157
  prepare_signers opts
152
158
  end
@@ -23,5 +23,5 @@
23
23
  #
24
24
 
25
25
  module HelloSign
26
- VERSION = '3.6.3'
26
+ VERSION = '3.6.4'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellosign-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.3
4
+ version: 3.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - HelloSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-16 00:00:00.000000000 Z
11
+ date: 2018-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler