1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws/requests/sqs/list_queues.rb

29 lines
688 B
Ruby
Raw Normal View History

module Fog
module AWS
class SQS
class Real
require 'fog/aws/parsers/sqs/list_queues'
2011-07-19 16:10:26 -04:00
# List queues
#
# ==== Parameters
# * options<~Hash>:
# * QueueNamePrefix<~String> - String used to filter results to only those with matching prefixes
#
# ==== See Also
# http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryListQueues.html
#
def list_queues(options = {})
request({
'Action' => 'ListQueues',
:parser => Fog::Parsers::AWS::SQS::ListQueues.new
2011-07-19 16:10:26 -04:00
}.merge!(options))
end
end
end
end
end