lib/mws/subscriptions/client.rb in peddler-0.13.0 vs lib/mws/subscriptions/client.rb in peddler-0.14.0
- old
+ new
@@ -7,10 +7,11 @@
# the operations in the Subscriptions API section, you can register to
# receive important information from Amazon without having to poll the
# Amazon MWS service. Instead, the information is sent directly to you when
# an event occurs to which you are subscribed.
class Client < ::Peddler::Client
- path '/Subscriptions/2013-07-01'
+ version "2013-07-01"
+ path "/Subscriptions/#{version}"
# Registers a new destination to receive notifications
#
# @see http://docs.developer.amazonservices.com/en_US/subscriptions/Subscriptions_RegisterDestination.html
# @param sqs_queue_url [String]