Class: Maidcafe::Category
- Inherits:
-
ResultItem
- Object
- ResultItem
- Maidcafe::Category
- Defined in:
- lib/ruby-maidcafe.rb
Instance Attribute Summary collapse
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Methods inherited from ResultItem
#element_text, #initialize, #read, #to_s
Constructor Details
This class inherits a constructor from Maidcafe::ResultItem
Instance Attribute Details
#cid ⇒ Object
Returns the value of attribute cid.
221 222 223 |
# File 'lib/ruby-maidcafe.rb', line 221 def cid @cid end |
#name ⇒ Object
Returns the value of attribute name.
221 222 223 |
# File 'lib/ruby-maidcafe.rb', line 221 def name @name end |
Instance Method Details
#attr_to_tag ⇒ Object
222 |
# File 'lib/ruby-maidcafe.rb', line 222 def attr_to_tag; {:name => 'category', :cid => 'cid'} end |
#id ⇒ Object
223 |
# File 'lib/ruby-maidcafe.rb', line 223 def id; cid end |