Module: ActiveWorker::Behavior::CanBeNotified

Defined in:
lib/active_worker/behavior/can_be_notified.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



16
17
18
19
# File 'lib/active_worker/behavior/can_be_notified.rb', line 16

def self.included(base)
  base.extend(ClassMethods)
  base.after_thread_launch :process_notifications
end