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