Class: HelloSign::Resource::SignatureRequest

Inherits:
BaseResource show all
Defined in:
lib/hello_sign/resource/signature_request.rb

Overview

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

Instance Attribute Summary

Attributes inherited from BaseResource

#data, #headers, #raw_data, #warnings

Instance Method Summary collapse

Methods inherited from BaseResource

#method_missing

Constructor Details

#initialize(hash, key = 'signature_request') ⇒ HelloSign::Resource::SignatureRequest

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.

Parameters:

  • hash (Hash)

    SignatureRequest’s data

  • key (String) (defaults to: 'signature_request')

    (signature_request) Key of the hash, point to where SignatureRequest data is. If nil, then the hash itself.



38
39
40
# File 'lib/hello_sign/resource/signature_request.rb', line 38

def initialize(hash, key='signature_request')
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HelloSign::Resource::BaseResource