moto/other_langs/test.rb
2017-03-12 21:04:19 -04:00

7 lines
188 B
Ruby

require 'aws-sdk'
sqs = Aws::SQS::Resource.new(region: 'us-west-2', endpoint: 'http://localhost:5000')
my_queue = sqs.create_queue(queue_name: 'my-bucket')
puts sqs.client.list_queues()