Class: JunkDrawer::Notifier::RaiseStrategy
- Inherits:
-
Object
- Object
- JunkDrawer::Notifier::RaiseStrategy
- Includes:
- Callable
- Defined in:
- lib/junk_drawer/notifier/raise_strategy.rb
Overview
Notifier strategy to raise an error when notification is triggered
Instance Method Summary collapse
Methods included from Callable
Instance Method Details
#call(message, **context) ⇒ Object
11 12 13 |
# File 'lib/junk_drawer/notifier/raise_strategy.rb', line 11 def call(, **context) raise NotifierError, "#{}, context: #{context}" end |