Class: Maidcafe::Type
- Inherits:
-
ResultItem
- Object
- ResultItem
- Maidcafe::Type
- Defined in:
- lib/ruby-maidcafe.rb
Constant Summary collapse
- SHOP =
'shop'
- EVENT =
'event'
- COUPON =
'coupon'
- BAITO =
'baito'
- OPENDATE =
'opendate'
- NEWSHOP =
'newshop'
- DAYINFO =
'dayinfo'
- EVENTINFO =
'eventinfo'
Instance Attribute Summary collapse
-
#keytype ⇒ Object
Returns the value of attribute keytype.
-
#type ⇒ Object
Returns the value of attribute type.
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
#keytype ⇒ Object
Returns the value of attribute keytype.
197 198 199 |
# File 'lib/ruby-maidcafe.rb', line 197 def keytype @keytype end |
#type ⇒ Object
Returns the value of attribute type.
197 198 199 |
# File 'lib/ruby-maidcafe.rb', line 197 def type @type end |
Instance Method Details
#attr_to_tag ⇒ Object
198 |
# File 'lib/ruby-maidcafe.rb', line 198 def attr_to_tag; {:type => 'type', :keytype => 'keytype'} end |
#name ⇒ Object
199 |
# File 'lib/ruby-maidcafe.rb', line 199 def name; type end |