Module: ExceptionNotification

Defined in:
lib/exception_notification/sidekiq.rb,
lib/exception_notification.rb,
lib/exception_notification/rack.rb,
lib/exception_notification/rails.rb,
lib/exception_notification/resque.rb,
lib/generators/exception_notification/install_generator.rb

Overview

Note: this class is only needed for Sidekiq version < 3.

Defined Under Namespace

Modules: Generators Classes: Engine, Rack, Resque, Sidekiq

Class Method Summary collapse

Class Method Details

.configure {|ExceptionNotifier| ... } ⇒ Object

Alternative way to setup ExceptionNotification. Run ‘rails generate exception_notification:install’ to create a fresh initializer with all configuration values.

Yields:



8
9
10
# File 'lib/exception_notification.rb', line 8

def self.configure
  yield ExceptionNotifier
end