Class: Coneco::Category
- Inherits:
-
Object
- Object
- Coneco::Category
- Includes:
- InitHelper
- Defined in:
- lib/coneco/client.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#level ⇒ Object
Returns the value of attribute level.
-
#name ⇒ Object
Returns the value of attribute name.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(h) ⇒ Category
constructor
A new instance of Category.
Methods included from InitHelper
Constructor Details
#initialize(h) ⇒ Category
Returns a new instance of Category.
79 80 81 |
# File 'lib/coneco/client.rb', line 79 def initialize(h) populate(h) end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
78 79 80 |
# File 'lib/coneco/client.rb', line 78 def id @id end |
#level ⇒ Object
Returns the value of attribute level.
78 79 80 |
# File 'lib/coneco/client.rb', line 78 def level @level end |
#name ⇒ Object
Returns the value of attribute name.
78 79 80 |
# File 'lib/coneco/client.rb', line 78 def name @name end |
#url ⇒ Object
Returns the value of attribute url.
78 79 80 |
# File 'lib/coneco/client.rb', line 78 def url @url end |