Class: Rakumarket::NextDayAreaList
- Inherits:
-
Object
- Object
- Rakumarket::NextDayAreaList
- Defined in:
- lib/rakumarket/models.rb
Class Method Summary collapse
Class Method Details
.parse(val) ⇒ Object
45 46 47 |
# File 'lib/rakumarket/models.rb', line 45 def self.parse(val) val.split('/').map{|a| values[a] || a} if val.respond_to?(:split) end |
.values ⇒ Object
44 |
# File 'lib/rakumarket/models.rb', line 44 def self.values; ASURAKU_DELIVERY_AREA_NAMES end |