Method: MWS::Subscriptions::Client#send_test_notification_to_destination

Defined in:
lib/mws/subscriptions/client.rb

#send_test_notification_to_destination(sqs_queue_url, marketplace_id = marketplace_id()) ⇒ Peddler::XMLParser

Sends a test notification to an existing destination

Parameters:

  • sqs_queue_url (String)
  • marketplace_id (String) (defaults to: marketplace_id())

Returns:

See Also:



60
61
62
63
64
65
66
# File 'lib/mws/subscriptions/client.rb', line 60

def send_test_notification_to_destination(sqs_queue_url, marketplace_id = marketplace_id())
  operation('SendTestNotificationToDestination')
    .add('MarketplaceId' => marketplace_id)
    .add(build_destination(sqs_queue_url))

  run
end