Class: Maidcafe::Type

Inherits:
ResultItem show all
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

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

#keytypeObject

Returns the value of attribute keytype.



197
198
199
# File 'lib/ruby-maidcafe.rb', line 197

def keytype
  @keytype
end

#typeObject

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_tagObject



198
# File 'lib/ruby-maidcafe.rb', line 198

def attr_to_tag; {:type => 'type', :keytype => 'keytype'} end

#nameObject



199
# File 'lib/ruby-maidcafe.rb', line 199

def name; type end