Class: Redirector::Middleware
- Inherits:
-
Object
- Object
- Redirector::Middleware
- Defined in:
- lib/redirector/middleware.rb
Defined Under Namespace
Classes: Responder
Instance Method Summary collapse
- #call(environment) ⇒ Object
-
#initialize(application) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(application) ⇒ Middleware
Returns a new instance of Middleware.
5 6 7 |
# File 'lib/redirector/middleware.rb', line 5 def initialize(application) @application = application end |