Class: HelloSign::Resource::TemplateDraft
- Inherits:
-
BaseResource
- Object
- BaseResource
- HelloSign::Resource::TemplateDraft
- Defined in:
- lib/hello_sign/resource/template_draft.rb
Overview
Contains information about a TemplateDraft. Take a look at our API Documentation for Templates (app.hellosign.com/api/reference#Template) for more information about this.
Instance Attribute Summary
Attributes inherited from BaseResource
#data, #headers, #raw_data, #warnings
Instance Method Summary collapse
-
#initialize(hash, key = 'template') ⇒ HelloSign::Resource::TemplateDraft
constructor
Creates a new TemplateDraft from a hash.
Methods inherited from BaseResource
Constructor Details
#initialize(hash, key = 'template') ⇒ HelloSign::Resource::TemplateDraft
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.
38 39 40 |
# File 'lib/hello_sign/resource/template_draft.rb', line 38 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