Class: Facemock::OAuth::RackMiddleware
- Inherits:
-
Object
- Object
- Facemock::OAuth::RackMiddleware
- Defined in:
- lib/facemock/oauth/rack_middleware.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app) ⇒ RackMiddleware
constructor
A new instance of RackMiddleware.
Constructor Details
#initialize(app) ⇒ RackMiddleware
Returns a new instance of RackMiddleware.
6 7 8 |
# File 'lib/facemock/oauth/rack_middleware.rb', line 6 def initialize(app) @app = app end |
Instance Method Details
#call(env) ⇒ Object
10 11 12 |
# File 'lib/facemock/oauth/rack_middleware.rb', line 10 def call(env) @app.call(env) end |