lib/mws/recommendations/client.rb in peddler-0.13.0 vs lib/mws/recommendations/client.rb in peddler-0.14.0
- old
+ new
@@ -5,10 +5,11 @@
# The Recommendations API enables you to programmatically retrieve Amazon
# Selling Coach recommendations by recommendation category. A recommendation
# is an actionable, timely, and personalized opportunity to increase your
# sales and performance.
class Client < ::Peddler::Client
- path '/Recommendations/2013-04-01'
+ version "2013-04-01"
+ path "/Recommendations/#{version}"
# Checks whether there are active recommendations for each category for
# the given marketplace, and if there are, returns the time when
# recommendations were last updated for each category
#