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

- old
+ new

@@ -66,11 +66,10 @@ path = '/signature_request/list' opts[:query] = create_search_string(opts[:query]) if opts[:query] query = create_query_string(opts, [:page, :page_size, :ux_version, :query]) path += query HelloSign::Resource::ResourceArray.new get(path, opts), 'signature_requests', HelloSign::Resource::SignatureRequest - end # # Creates and sends a new SignatureRequest with the submitted documents. # If form_fields_per_document is not specified, a signature page will be affixed at the end @@ -123,10 +122,10 @@ prepare_files opts prepare_signers opts prepare_form_fields opts prepare_custom_fields opts - HelloSign::Resource::SignatureRequest.new post('/signature_request/send', :body => opts) + request = HelloSign::Resource::SignatureRequest.new post('/signature_request/send', :body => opts) end # # Creates and sends a new SignatureRequest based off of the Template specified with the template_id parameter. # @option opts [Integer] test_mode (0) Whether this is a test, the signature request will not be legally binding if set to 1.