Created
June 12, 2014 16:21
-
-
Save stevenjack/99edd99df4433a8e478e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sqs = AWS::SQS.new | |
queue = sqs.queues.create('test-queue') | |
#The name of the queue above should be the same name as dfined in the app.json | |
message = '{"some" : "key"}' | |
msg = queue.send_message(message) | |
#We're happy everything has completed, then we can delete the message | |
msg.delete | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment