Class: HelloSign::Resource::UnclaimedDraft

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

Overview

Contains information about an UnclaimedDraft. Take a look at our API documentation for the UnclaimedDraft resource (app.hellosign.com/api/reference#UnclaimedDraft) 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 = 'unclaimed_draft') ⇒ HelloSign::Resource::UnclaimedDraft

Creates a new UnclaimedDraft from a hash. If a key is defined then UnclaimedDraft data with be the value of hash, otherwise the hash itself.

Parameters:

  • hash (Hash)

    UnclaimedDraft’s data

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

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



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

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

Dynamic Method Handling

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