Sha256: ff79780ce7408d8fd202213a8282e693ed4df9a96540815b0c7d41a080d772c4

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require 'unique_job/util'

module UniqueJob
  class ServerMiddleware
    include Util

    def initialize(redis_options)
      @redis_options = redis_options
    end

    def call(worker, msg, queue, &block)
      perform(worker, msg, &block)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unique_job-0.4.4 lib/unique_job/server_middleware.rb