Method: MWS::Subscriptions::Client#delete_subscription
- Defined in:
- lib/mws/subscriptions/client.rb
#delete_subscription(notification_type, sqs_queue_url, marketplace_id) ⇒ Peddler::XMLParser
Deletes a subscription
109 110 111 112 113 114 115 116 |
# File 'lib/mws/subscriptions/client.rb', line 109 def delete_subscription(notification_type, sqs_queue_url, marketplace_id) operation('DeleteSubscription') .add('MarketplaceId' => marketplace_id, 'NotificationType' => notification_type) .add(build_destination(sqs_queue_url)) run end |