Class: HealthyRack::Middleware
- Inherits:
-
Object
- Object
- HealthyRack::Middleware
- Defined in:
- lib/healthy_rack/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, path:) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app, path:) ⇒ Middleware
Returns a new instance of Middleware.
5 6 7 8 |
# File 'lib/healthy_rack/middleware.rb', line 5 def initialize(app, path:) @app = app @path = path end |