Class: ZohoCrm::Organization::Facade

Inherits:
Object
  • Object
show all
Defined in:
lib/zoho_crm/organization/facade.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Facade



6
7
8
9
# File 'lib/zoho_crm/organization/facade.rb', line 6

def initialize(hash)
  @id         = hash['org'][0]['id']
  @attributes = hash['org'][0]
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



4
5
6
# File 'lib/zoho_crm/organization/facade.rb', line 4

def attributes
  @attributes
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/zoho_crm/organization/facade.rb', line 4

def id
  @id
end