Class: Yandex::Market::Region
- Inherits:
-
Object
- Object
- Yandex::Market::Region
- Defined in:
- lib/yandex/market/content/region.rb
Class Method Summary collapse
Class Method Details
.path(id) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/yandex/market/content/region.rb', line 4 def self.path(id) case id when Integer "geo/regions/#{id}" else 'geo/regions' end end |