lib/emittance/resque.rb in emittance-resque-0.2.0 vs lib/emittance/resque.rb in emittance-resque-1.0.0

- old
+ new

@@ -16,9 +16,17 @@ module Resque class << self def use_serializer(serializer) Emittance::Resque::EventSerializer.use_serializer serializer end + + def default_queue + Emittance::Resque::Dispatcher.default_queue + end + + def default_queue=(queue) + Emittance::Resque::Dispatcher.default_queue = queue + end end end end # :nocov: