Class: Yandex::Market::Offer

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

Class Method Summary collapse

Class Method Details

.params(options = {}) ⇒ Object

Raises:



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

def self.params(options = {})
  raise OfferArgumentError unless (options[:geo_id] && options[:remote_ip]).nil?
  options
end