class HelloSign::Resource::TemplateDraft
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.
@author [hellosign]
Public Class Methods
new(hash, key='template')
click to toggle source
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. @param hash [Hash] TemplateDraft's data @param key [String] (template_draft) Key of the hash, point to where TemplateDraft
data is. If nil, then the hash itself.
@return [HelloSign::Resource::TemplateDraft] a TemplateDraft
Calls superclass method
HelloSign::Resource::BaseResource::new
# File lib/hello_sign/resource/template_draft.rb, line 38 def initialize(hash, key='template') super end