Sha256: 3ab67c955b25f0f511f7521641b954cd7b7ec5fabae93883b902a3875494aced

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

module ExceptionAlarm
  class Engine < Rails::Engine
    config.exception_alarm = ActiveSupport::OrderedOptions.new
    config.exception_alarm.enable = Rails.env.production?

    initializer 'exception_alarm' do |app|
      app.config.middleware.use ::ExceptionAlarm::Middleware
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception-alarm-1.0.2 lib/exception_alarm/engine.rb
exception-alarm-1.0.1 lib/exception_alarm/engine.rb
exception-alarm-1.0.0 lib/exception_alarm/engine.rb
exception-alarm-0.1.0 lib/exception_alarm/engine.rb