Class: LogStruct::Integrations::RackMiddleware Abstract
- Inherits:
-
Object
- Object
- LogStruct::Integrations::RackMiddleware
- Extended by:
- T::Helpers, T::Sig
- Defined in:
- lib/log_struct/integrations/rack_middleware.rb
Overview
This class is abstract.
It cannot be directly instantiated. Subclasses must implement the abstract methods below.
A Rack middleware around the app: subclasses define call, and pass the request on to @app
Direct Known Subclasses
LogStruct::Integrations::RackErrorHandler::Middleware, LogStruct::Integrations::RequestContext::Middleware
Instance Method Summary collapse
- #call(env) ⇒ T.untyped abstract
- #initialize(app) ⇒ void constructor
Constructor Details
#initialize(app) ⇒ void
14 15 16 |
# File 'lib/log_struct/integrations/rack_middleware.rb', line 14 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ T.untyped
This method is abstract.
19 20 |
# File 'lib/log_struct/integrations/rack_middleware.rb', line 19 def call(env) end |