Module: AbstractNotifier::Testing::Notification
- Included in:
- Notification
- Defined in:
- lib/abstract_notifier/testing.rb
Instance Method Summary collapse
Instance Method Details
#notify_later ⇒ Object
37 38 39 40 41 |
# File 'lib/abstract_notifier/testing.rb', line 37 def notify_later return super unless AbstractNotifier.test? Driver.enqueue_notification payload end |
#notify_now ⇒ Object
31 32 33 34 35 |
# File 'lib/abstract_notifier/testing.rb', line 31 def notify_now return super unless AbstractNotifier.test? Driver.send_notification payload end |