Sha256: 4d07bfebc6e2845415677bf55041bfb722e2ee43b20dcfaef74860e890375c69

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

module Yandex
  module Market
    class Client
      module Regions
        def regions(id = nil, options = {})
          get Region.path(id), options
        end

        def regions_children(id, options = {})
          get "#{Region.path(id)}/children", options
        end

        def suggest(options = {})
          get 'geo/suggest', options
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yandex_market_content-0.4.0 lib/yandex/market/client/regions.rb
yandex_market_content-0.3.0 lib/yandex/market/client/regions.rb
yandex_market_content-0.2.0 lib/yandex/market/client/regions.rb