Class: HelloSign::Resource::TemplateDraft

Inherits:
BaseResource show all
Defined in:
lib/hello_sign/resource/template_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 API Documentation for Templates (app.hellosign.com/api/reference#Template) 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 = 'template') ⇒ HelloSign::Resource:Team

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

Parameters:

  • hash (Hash)

    TemplateDraft’s data

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

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



41
42
43
# File 'lib/hello_sign/resource/template_draft.rb', line 41

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

Dynamic Method Handling

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