class JunkDrawer::Notifier::RaiseStrategy

Notifier strategy to raise an error when notification is triggered

Public Instance Methods

call(message, **context) click to toggle source
# File lib/junk_drawer/notifier/raise_strategy.rb, line 11
def call(message, **context)
  raise NotifierError, "#{message}, context: #{context}"
end