Sha256: 7a5bc3d253b2a5b3c83526f3dae1bca5e997dde5f10fda552351f0d9da588610

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

module FakeServiceBus
  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 queue_name
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fake_servicebus-0.0.2 lib/fake_servicebus/actions/delete_queue.rb