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.
42 43 44 45 46 |
# File 'lib/scout_apm/instruments/middleware_detailed.rb', line 42 def initialize(app, name) @app = app @type = "Middleware" @name = name end |