Class: Rakumarket::InternationalDeliveryCountryList
- Inherits:
-
Object
- Object
- Rakumarket::InternationalDeliveryCountryList
- Defined in:
- lib/rakumarket/models.rb
Class Method Summary collapse
Class Method Details
.parse(val) ⇒ Object
38 39 40 |
# File 'lib/rakumarket/models.rb', line 38 def self.parse(val) val.split('/').map{|a| values[a] || a} if val.respond_to?(:split) end |
.values ⇒ Object
37 |
# File 'lib/rakumarket/models.rb', line 37 def self.values; INTERNATIONAL_DELIVERY_AREA_NAMES end |