Class: Yandex::Market::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/yandex/market/content/search.rb

Class Method Summary collapse

Class Method Details

.params(options = {}) ⇒ Object



4
5
6
7
# File 'lib/yandex/market/content/search.rb', line 4

def self.params(options = {})
  raise SearchArgumentError unless options[:text] && options[:geo_id]
  options
end