examples/api-samples/samples/sample06.rb in groupdocs-1.8.0 vs examples/api-samples/samples/sample06.rb in groupdocs-1.8.1

- old
+ new

@@ -47,9 +47,10 @@ File.open(signature_one_path, 'wb') { |f| f.write(params[:fiSignature][:tempfile].read) } #Add signature to file using API signature_one = GroupDocs::Signature.new(name: params[:fiSignature][:filename], image_path: signature_one_path) signature_one.position = {top: 0.83319, left: 0.72171, width: 100, height: 40} + signature_one.email = "test@email.com" #Make a request to API using client_id and private_key signed_documents = GroupDocs::Document.sign_documents!([document_one], [signature_one], {}) sleep(5) \ No newline at end of file