lib/mws/recommendations/client.rb in peddler-0.15.0 vs lib/mws/recommendations/client.rb in peddler-0.16.0
- old
+ new
@@ -15,11 +15,11 @@
# recommendations were last updated for each category
#
# @see http://docs.developer.amazonservices.com/en_US/recommendations/Recommendations_GetLastUpdatedTimeForRecommendations.html
# @param marketplace_id [String]
# @return [Peddler::XMLParser]
- def get_last_updated_time_for_recommendations(marketplace_id = marketplace_id())
+ def get_last_updated_time_for_recommendations(marketplace_id = primary_marketplace_id)
operation('GetLastUpdatedTimeForRecommendations')
.add('MarketplaceId' => marketplace_id)
run
end
@@ -33,10 +33,10 @@
# @option opts [String] :marketplace_id
# @option opts [String] :recommendation_category
# @option opts [Array<Struct, Hash>] :category_query_list
# @return [Peddler::XMLParser]
def list_recommendations(opts = {})
- opts[:marketplace_id] ||= marketplace_id
+ opts[:marketplace_id] ||= primary_marketplace_id
operation('ListRecommendations')
.add(opts)
.structure!(
'CategoryQueryList', 'CategoryQuery', '1', 'FilterOptions',