class HelloSign::Resource::Template
Contains information about Templates. 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 Template
from a hash. If a key is defined then Template
data will be the value of hash, otherwise the hash itself. @param hash [Hash] Template's data @param key [String] (template) Key of the hash, point to where Template
data is. If nil, then the hash itself.
@return [HelloSign::Resource::Template] a Template
Calls superclass method
HelloSign::Resource::BaseResource::new
# File lib/hello_sign/resource/template.rb, line 38 def initialize(hash, key='template') super end