Sha256: 08a3680e83711e22d3b7ced89f97f7e99f1c6c957fd99dd190ea0316c0ec1a38
Contents?: true
Size: 480 Bytes
Versions: 13
Compression:
Stored size: 480 Bytes
Contents
module FakeSQS module Actions class ListQueues def initialize(options = {}) @server = options.fetch(:server) @queues = options.fetch(:queues) @responder = options.fetch(:responder) end def call(params) found = @queues.list(params) @responder.call :ListQueues do |xml| found.each do |queue| xml.QueueUrl @server.url_for(queue.name) end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems