lib/yotpo/api/product.rb in yotpo-1.0.1 vs lib/yotpo/api/product.rb in yotpo-1.0.3

- old
+ new

@@ -9,9 +9,14 @@ request.delete_if{|key,val| val.nil?} app_key = params[:app_key] get("/apps/#{app_key}/bottom_lines", request) end + def get_products_information(params) + app_key = params[:app_key] + get("/v1/widget/#{app_key}/products/products_information", { domain_keys: params[:domain_keys] }) + end + # # Retrieves the bottom line of a product # @param params [Hash] # @option params [String] :app_key the accounts app key that was given to it upon registration # @option params [String] :product_id the id of the product \ No newline at end of file