Class: ZohoSign::Template::Facade

Inherits:
Object
  • Object
show all
Defined in:
lib/zoho_sign/template/facade.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Facade

Returns a new instance of Facade.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/zoho_sign/template/facade.rb', line 9

def initialize(hash)
  @actions           = hash['actions']
  @created_time      = hash['created_time']
  @description       = hash['description']
  @document_fields   = hash['document_fields']
  @document_ids      = hash['document_ids']
  @email_reminders   = hash['email_reminders']
  @expiration_days   = hash['expiration_days']
  @folder_id         = hash['folder_id']
  @folder_name       = hash['folder_name']
  @is_deleted        = hash['is_deleted']
  @is_sequential     = hash['is_sequential']
  @modified_time     = hash['modified_time']
  @notes             = hash['notes']
  @owner_email       = hash['owner_email']
  @owner_first_name  = hash['owner_first_name']
  @owner_id          = hash['owner_id']
  @owner_last_name   = hash['owner_last_name']
  @reminder_period   = hash['reminder_period']
  @request_type_id   = hash['request_type_id']
  @request_type_name = hash['request_type_name']
  @signform_count    = hash['signform_count']
  @template_id       = hash['template_id']
  @template_name     = hash['template_name']
  @validity          = hash['validity']
end

Instance Attribute Details

#actionsObject (readonly)

Returns the value of attribute actions.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def actions
  @actions
end

#created_timeObject (readonly)

Returns the value of attribute created_time.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def created_time
  @created_time
end

#descriptionObject (readonly)

Returns the value of attribute description.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def description
  @description
end

#document_fieldsObject (readonly)

Returns the value of attribute document_fields.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def document_fields
  @document_fields
end

#document_idsObject (readonly)

Returns the value of attribute document_ids.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def document_ids
  @document_ids
end

#email_remindersObject (readonly)

Returns the value of attribute email_reminders.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def email_reminders
  @email_reminders
end

#expiration_daysObject (readonly)

Returns the value of attribute expiration_days.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def expiration_days
  @expiration_days
end

#folder_idObject (readonly)

Returns the value of attribute folder_id.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def folder_id
  @folder_id
end

#folder_nameObject (readonly)

Returns the value of attribute folder_name.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def folder_name
  @folder_name
end

#is_deletedObject (readonly)

Returns the value of attribute is_deleted.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def is_deleted
  @is_deleted
end

#is_sequentialObject (readonly)

Returns the value of attribute is_sequential.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def is_sequential
  @is_sequential
end

#modified_timeObject (readonly)

Returns the value of attribute modified_time.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def modified_time
  @modified_time
end

#notesObject (readonly)

Returns the value of attribute notes.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def notes
  @notes
end

#owner_emailObject (readonly)

Returns the value of attribute owner_email.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def owner_email
  @owner_email
end

#owner_first_nameObject (readonly)

Returns the value of attribute owner_first_name.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def owner_first_name
  @owner_first_name
end

#owner_idObject (readonly)

Returns the value of attribute owner_id.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def owner_id
  @owner_id
end

#owner_last_nameObject (readonly)

Returns the value of attribute owner_last_name.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def owner_last_name
  @owner_last_name
end

#reminder_periodObject (readonly)

Returns the value of attribute reminder_period.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def reminder_period
  @reminder_period
end

#request_type_idObject (readonly)

Returns the value of attribute request_type_id.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def request_type_id
  @request_type_id
end

#request_type_nameObject (readonly)

Returns the value of attribute request_type_name.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def request_type_name
  @request_type_name
end

#signform_countObject (readonly)

Returns the value of attribute signform_count.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def signform_count
  @signform_count
end

#template_idObject (readonly)

Returns the value of attribute template_id.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def template_id
  @template_id
end

#template_nameObject (readonly)

Returns the value of attribute template_name.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def template_name
  @template_name
end

#validityObject (readonly)

Returns the value of attribute validity.



4
5
6
# File 'lib/zoho_sign/template/facade.rb', line 4

def validity
  @validity
end