class HelloSign::Resource::SignatureRequest

Contains information about a SignatureRequest. Take a look at our API Documentation for Signature Requests (app.hellosign.com/api/reference#SignatureRequest) for more information about this.

@author [hellosign]

Public Class Methods

new(hash, key='signature_request') click to toggle source

Creates a new SignatureRequest from a hash. If a key is defined then account data with be the value of hash, otherwise the hash itself. @param hash [Hash] SignatureRequest's data @param key [String] (signature_request) Key of the hash, point to where SignatureRequest data is. If nil, then the hash itself.

@return [HelloSign::Resource::SignatureRequest] a SignatureRequest

Calls superclass method HelloSign::Resource::BaseResource::new
# File lib/hello_sign/resource/signature_request.rb, line 38
def initialize(hash, key='signature_request')
  super
end