class Skroutz::ProductsCollection

Public Instance Methods

search_by_shop_uid(shop_uid) { |response| ... } click to toggle source
# File lib/skroutz/products_collection.rb, line 2
def search_by_shop_uid(shop_uid)
  response = client.get("#{base_path}/search", shop_uid: shop_uid)

  return parse(response) unless block_given?

  yield response
end