Class: AbsorbApi::Category

Inherits:
Record
  • Object
show all
Defined in:
lib/absorb_api/category.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

all, can_create, can_search, find, #initialize, with_relationships

Constructor Details

This class inherits a constructor from AbsorbApi::Record

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/absorb_api/category.rb', line 5

def description
  @description
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/absorb_api/category.rb', line 5

def id
  @id
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/absorb_api/category.rb', line 5

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id.



5
6
7
# File 'lib/absorb_api/category.rb', line 5

def parent_id
  @parent_id
end