lib/hello_sign/api/signature_request.rb in hellosign-ruby-sdk-3.6.3 vs lib/hello_sign/api/signature_request.rb in hellosign-ruby-sdk-3.6.4

- old
+ new

@@ -86,10 +86,11 @@ # * :name (String) Sender' name # * :email_address (String) Sender's email address # * :order (Integer) The order the signer is required to sign in # * :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. # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed. + # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags. # @option opts [String] form_fields_per_document # # @return [HelloSign::Resource::SignatureRequest] a SignatureRequest # # @example @@ -120,10 +121,11 @@ def send_signature_request(opts) prepare_files opts prepare_signers opts prepare_form_fields opts + prepare_custom_fields opts HelloSign::Resource::SignatureRequest.new post('/signature_request/send', :body => opts) end # @@ -288,10 +290,11 @@ # * :name (String) Sender' name # * :email_address (String) Sender's email address # * :order (Integer) The order the signer is required to sign in # * :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. # @option opts [Array<String>] cc_email_addresses The email addresses that should be CCed. + # @option opts [Array<Hash>] custom_fields An array of custom merge fields, representing those present on the document with Text Tags. # @option opts [String] form_fields_per_document # @option opts [Integer] ux_version sets the version of the signer page to use # # @return [HelloSign::Resource::SignatureRequest] a SignatureRequest # @example @@ -323,9 +326,10 @@ def create_embedded_signature_request(opts) opts[:client_id] ||= self.client_id prepare_files opts prepare_signers opts prepare_form_fields opts + prepare_custom_fields opts HelloSign::Resource::SignatureRequest.new post('/signature_request/create_embedded', :body => opts) end #