Method: Honeybadger::Rack::ErrorNotifier#initialize

Defined in:
lib/honeybadger/rack/error_notifier.rb

#initialize(app, agent = nil) ⇒ ErrorNotifier

Returns a new instance of ErrorNotifier.

[View source]

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