module AbstractNotifier::Testing::Notification

Public Instance Methods

notify_later() click to toggle source
Calls superclass method
# File lib/abstract_notifier/testing.rb, line 37
def notify_later
  return super unless AbstractNotifier.test?

  Driver.enqueue_notification payload
end
notify_now() click to toggle source
Calls superclass method
# File lib/abstract_notifier/testing.rb, line 31
def notify_now
  return super unless AbstractNotifier.test?

  Driver.send_notification payload
end