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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c606f925b0c1d4159de9fec7c289c8ed8c5ecf8b
|
|
4
|
+
data.tar.gz: e119b7b6bdb0a585a3b62895a693e89b8abbfb99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/hello_sign/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|