Class: Maidcafe::Prefecture
- Inherits:
-
ResultItem
- Object
- ResultItem
- Maidcafe::Prefecture
- Defined in:
- lib/ruby-maidcafe.rb
Constant Summary collapse
- ANY =
nil
- HOKAIDO =
1
- TOCHIGI =
9
- SAITAMA =
11
- TOKYO =
13
- KANAGAWA =
14
- GIFU =
21
- AICHI =
23
- OSAKA =
27
- FUKUOKA =
40
- KAGOSHIMA =
46
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#tid ⇒ Object
Returns the value of attribute tid.
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
#name ⇒ Object
Returns the value of attribute name.
215 216 217 |
# File 'lib/ruby-maidcafe.rb', line 215 def name @name end |
#tid ⇒ Object
Returns the value of attribute tid.
215 216 217 |
# File 'lib/ruby-maidcafe.rb', line 215 def tid @tid end |
Instance Method Details
#attr_to_tag ⇒ Object
216 |
# File 'lib/ruby-maidcafe.rb', line 216 def attr_to_tag; {:name => 'todouhuken', :tid => 'tid'} end |
#id ⇒ Object
217 |
# File 'lib/ruby-maidcafe.rb', line 217 def id; tid end |