module FakeSQS module Actions class DeleteQueue def initialize(options = {}) @server = options.fetch(:server) @queues = options.fetch(:queues) @responder = options.fetch(:responder) end def call(name, params) @queues.delete(name, params) @responder.call :DeleteQueue end end end end