Module: ActiveDelivery::Callbacks::InstanceExt

Defined in:
lib/active_delivery/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#do_notify(*args, **kwargs) ⇒ Object



44
45
46
# File 'lib/active_delivery/callbacks.rb', line 44

def do_notify(*args, **kwargs)
  run_callbacks(:notify) { super(*args, **kwargs) }
end

#notify_line(*args, **kwargs) ⇒ Object



48
49
50
# File 'lib/active_delivery/callbacks.rb', line 48

def notify_line(*args, **kwargs)
  run_callbacks(args.first) { super(*args, **kwargs) }
end