Class: HelloSign::Resource::UnclaimedDraft

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

Overview

A group of documents that a user can take ownership of by going to the claim URL Take a look at our unclaimed draft resource document for more information about this.

Author:

  • hellosign

Instance Method Summary collapse

Methods inherited from BaseResource

#data, #method_missing, #warnings

Constructor Details

#initialize(hash, key = 'unclaimed_draft') ⇒ HelloSign::Resource:Team

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

Parameters:

  • hash (Hash)

    unclaimed draft’s data

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

    (unclaimed_draft) key of the hash, point to where unclaimed draft data is. If nil then the hash itself



43
44
45
# File 'lib/hello_sign/resource/unclaimed_draft.rb', line 43

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