Sha256: 9923d717d40a6068f7beb4df5304fdf9fbd62a71ed9d9e1578b14b9d377ec6c8
Contents?: true
Size: 1.04 KB
Versions: 98
Compression:
Stored size: 1.04 KB
Contents
module Fog module AWS class SQS class Real require 'fog/aws/parsers/sqs/list_queues' # 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 }.merge!(options)) end end class Mock def list_queues(options = {}) Excon::Response.new.tap do |response| response.status = 200 response.body = { 'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id }, 'QueueUrls' => data[:queues].keys } end end end end end end
Version data entries
98 entries across 96 versions & 6 rubygems