Method: Honeybadger::Rack::ErrorNotifier#initialize
- Defined in:
- lib/honeybadger/rack/error_notifier.rb
permalink #initialize(app, agent = nil) ⇒ ErrorNotifier
Returns a new instance of ErrorNotifier.
24 25 26 27 |
# File 'lib/honeybadger/rack/error_notifier.rb', line 24 def initialize(app, agent = nil) @app = app @agent = agent.kind_of?(Agent) && agent end |