Class: Appsignal::Rack::HanamiMiddleware Private
- Inherits:
-
AbstractMiddleware
- Object
- AbstractMiddleware
- Appsignal::Rack::HanamiMiddleware
- Defined in:
- lib/appsignal/rack/hanami_middleware.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from AbstractMiddleware
AbstractMiddleware::DEFAULT_ERROR_REPORTING
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ HanamiMiddleware
constructor
private
A new instance of HanamiMiddleware.
Methods inherited from AbstractMiddleware
Constructor Details
#initialize(app, options = {}) ⇒ HanamiMiddleware
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of HanamiMiddleware.
7 8 9 10 11 |
# File 'lib/appsignal/rack/hanami_middleware.rb', line 7 def initialize(app, = {}) [:params_method] = nil [:instrument_event_name] ||= "process_action.hanami" super end |