Class: Rack::AMF::Middleware::PassThrough
- Inherits:
-
Object
- Object
- Rack::AMF::Middleware::PassThrough
- Includes:
- Rack::AMF::Middleware
- Defined in:
- lib/rack/amf/middleware/pass_through.rb
Overview
Instance Method Summary collapse
- #handle ⇒ Object
-
#initialize(app, options = {}) ⇒ PassThrough
constructor
A new instance of PassThrough.
Constructor Details
#initialize(app, options = {}) ⇒ PassThrough
Returns a new instance of PassThrough.
11 12 13 14 |
# File 'lib/rack/amf/middleware/pass_through.rb', line 11 def initialize app, ={} @app = app Rack::AMF::Environment.populate end |
Instance Method Details
#handle ⇒ Object
16 17 18 |
# File 'lib/rack/amf/middleware/pass_through.rb', line 16 def handle @app.call env end |