Sha256: b3b86818330e2535d2818129d137a864f10558d85ef70d60da2667c29392606a
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
module FakeSQS module Actions class DeleteQueue def initialize(options = {}) @server = options.fetch(:server) @queues = options.fetch(:queues) @responder = options.fetch(:responder) end def call(queue_name, params = {}) @queues.delete(queue_name, params) @responder.call :DeleteQueue end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fake_sqs-0.4.3 | lib/fake_sqs/actions/delete_queue.rb |
fake_sqs-0.4.2 | lib/fake_sqs/actions/delete_queue.rb |