lib/mws/recommendations/client.rb in peddler-1.6.3 vs lib/mws/recommendations/client.rb in peddler-1.6.4

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'peddler/client' module MWS module Recommendations # The Recommendations API enables you to programmatically retrieve Amazon @@ -15,21 +17,23 @@ # recommendations were last updated for each category # # @see http://docs.developer.amazonservices.com/en_US/recommendations/Recommendations_GetLastUpdatedTimeForRecommendations.html # @param [String] marketplace_id # @return [Peddler::XMLParser] - def get_last_updated_time_for_recommendations(marketplace_id = primary_marketplace_id) + def get_last_updated_time_for_recommendations(marketplace_id = + primary_marketplace_id) operation('GetLastUpdatedTimeForRecommendations') .add('MarketplaceId' => marketplace_id) run end # Lists active recommendations for a specific category or for all # categories for a specific marketplace # # @see http://docs.developer.amazonservices.com/en_US/recommendations/Recommendations_ListRecommendations.html - # @overload list_recommendations(opts = { marketplace_id: primary_marketplace_id }) + # @overload list_recommendations(opts = { marketplace_id: + # primary_marketplace_id }) # @param [Hash] opts # @option opts [String] :marketplace_id # @option opts [String] :recommendation_category # @option opts [Array<Struct, Hash>] :category_query_list # @return [Peddler::XMLParser]