lib/asynchronic/environment.rb in asynchronic-2.0.1 vs lib/asynchronic/environment.rb in asynchronic-3.0.0

- old
+ new

@@ -1,13 +1,13 @@ module Asynchronic class Environment - attr_reader :queue_engine - attr_reader :data_store + attr_reader :queue_engine, :data_store, :notifier - def initialize(queue_engine, data_store) + def initialize(queue_engine, data_store, notifier) @queue_engine = queue_engine @data_store = data_store + @notifier = notifier end def queue(name) queue_engine[name] end \ No newline at end of file