Module: HelloSign::Api::Embedded

Included in:
Client
Defined in:
lib/hello_sign/api/embedded.rb

Overview

HelloSign allows you to embed the signing page on your site in an iFrame without the need for the end-user to create a HelloSign account. Take a look at our embedded signing walkthrough for more information about this.

Instance Method Summary collapse

Instance Method Details

#get_embedded_sign_url(opts) ⇒ HelloSign::Resource::Embedded

Retrieves the embedded signature request url.

Examples:

embedded = @client.get_embedded_sign_url :signature_id => '50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b'

Options Hash (opts):

  • signature_id (String)

    The id of the signature to get a signature url for



22
23
24
# File 'lib/hello_sign/api/embedded.rb', line 22

def get_embedded_sign_url opts
  HelloSign::Resource::Embedded.new get("/embedded/sign_url/#{opts[:signature_id]}")
end