Class: ScoutApm::Instruments::MiddlewareDetailed::MiddlewareWrapper
- Inherits:
-
Object
- Object
- ScoutApm::Instruments::MiddlewareDetailed::MiddlewareWrapper
- Defined in:
- lib/scout_apm/instruments/middleware_detailed.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, name) ⇒ MiddlewareWrapper
constructor
A new instance of MiddlewareWrapper.
Constructor Details
#initialize(app, name) ⇒ MiddlewareWrapper
Returns a new instance of MiddlewareWrapper.
38 39 40 41 42 |
# File 'lib/scout_apm/instruments/middleware_detailed.rb', line 38 def initialize(app, name) @app = app @type = "Middleware" @name = name end |