Module: BackgroundJobs::JobNotifier

Defined in:
lib/background_jobs/job_notifier.rb

Instance Method Summary collapse

Instance Method Details

#error(job, exception) ⇒ Object



7
8
9
10
11
# File 'lib/background_jobs/job_notifier.rb', line 7

def error(job, exception)
  super(job, exception)

  notify_error(:message => I18n.t(:flash_background_error))
end