Sha256: 950f861120967e1493abb2eeeb00441ed863b4d651a4a064d79060ee23286134
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
module ExceptionsApp class Railtie < ::Rails::Railtie initializer "exceptions_app.install_app" do |app| if ExceptionsApp.config.envs.include?(Rails.env) app.config.exceptions_app = ExceptionsApp::SimpleResponse.new end end rake_tasks do load 'tasks/exceptions_app.rake' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exceptions_app-0.0.1 | lib/exceptions_app/railtie.rb |