module Epages::REST::Miscellaneous
implement the calls in developer.epages.com/apps/api-reference/resource-miscellaneous.html
Public Instance Methods
currencies()
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-currencies.html
# File lib/epages/rest/miscellaneous.rb, line 17 def currencies perform_get_request('/currencies', {}) end
info(options = {})
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid.html
# File lib/epages/rest/miscellaneous.rb, line 11 def info(options = {}) response = perform_get_request('/', options) underscorize_keys(response) end
locales()
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-locales.html
# File lib/epages/rest/miscellaneous.rb, line 22 def locales perform_get_request('/locales', {}) end
product_suggestions_for(query, options = {})
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-search-product-suggest.html
# File lib/epages/rest/miscellaneous.rb, line 27 def product_suggestions_for(query, options = {}) response = perform_get_request('/search/product-suggest', options.merge(query: query)) parse_suggestions_to_products(response) end
watched_products(options = {})
click to toggle source
implements the call developer.epages.com/apps/api-reference/get-shops-shopid-watched-products
# File lib/epages/rest/miscellaneous.rb, line 33 def watched_products(options = {}) perform_get_request('/watched-products', {}) end