Sha256: 8b9f7f7bf486fe44f0bee92b30082555ab74c63d638fdf9d285b16e77cac064b

Contents?: true

Size: 929 Bytes

Versions: 4

Compression:

Stored size: 929 Bytes

Contents

module HelloSign
  module Api

    #
    # 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 {https://www.hellosign.com/api/embeddedSigningWalkthrough embedded signing walkthrough}
    # for more information about this.
    #
    # @author [hellosign]
    #
    module Embedded

      #
      # Retrieves the embedded signature request url.
      # @option opts [String] signature_id The id of the signature to get a signature url for
      #
      # @return [HelloSign::Resource::Embedded] Returns an Embedded object
      # @example
      #   embedded = @client.get_embedded_sign_url :signature_id => '50e3542f738adfa7ddd4cbd4c00d2a8ab6e4194b'
      #
      def get_embedded_sign_url opts
        HelloSign::Resource::Embedded.new get("/embedded/sign_url/#{opts[:signature_id]}")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hellosign-ruby-sdk-3.0.3 lib/hello_sign/api/embedded.rb
hellosign-ruby-sdk-3.0.2 lib/hello_sign/api/embedded.rb
hellosign-ruby-sdk-3.0.1 lib/hello_sign/api/embedded.rb
hellosign-ruby-sdk-3.0.0 lib/hello_sign/api/embedded.rb