Class: Grumlin::Middlewares::Middleware
- Inherits:
-
Object
- Object
- Grumlin::Middlewares::Middleware
- Defined in:
- lib/grumlin/middlewares/middleware.rb
Direct Known Subclasses
ApplyShortcuts, BuildQuery, CastResults, FindBlocklistedSteps, RunQuery, SerializeToBytecode, SerializeToSteps
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app) ⇒ Middleware
Returns a new instance of Middleware.
4 5 6 |
# File 'lib/grumlin/middlewares/middleware.rb', line 4 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ Object
8 9 10 |
# File 'lib/grumlin/middlewares/middleware.rb', line 8 def call(env) raise NotImplementedError end |