Class: Umbra::Middleware
- Inherits:
-
Object
- Object
- Umbra::Middleware
- Defined in:
- lib/umbra/middleware.rb
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.
3 4 5 |
# File 'lib/umbra/middleware.rb', line 3 def initialize(app) @app = app end |