Sha256: 8ca3914fd06bbd4c76fd21de0b3637ac46980e80ca3d642eff3b15e10995133a

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Emittance
  module Resque
    ##
    # The Resque broker for Emittance.
    #
    class Broker < Emittance::Broker
      class << self
        def process_event(event)
          dispatcher.process_event event
        end

        def dispatcher
          Emittance::Resque::Dispatcher
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
emittance-resque-1.1.0 lib/emittance/resque/broker.rb
emittance-resque-1.0.0 lib/emittance/resque/broker.rb
emittance-resque-0.2.0 lib/emittance/resque/broker.rb
emittance-resque-0.1.1 lib/emittance/resque/broker.rb
emittance-resque-0.1.0 lib/emittance/resque/broker.rb