Module: Protocol::Rack::Adapter
- Defined in:
- lib/protocol/rack/adapter.rb,
lib/protocol/rack/adapter/rack2.rb,
lib/protocol/rack/adapter/rack3.rb,
lib/protocol/rack/adapter/generic.rb
Defined Under Namespace
Classes: Generic, Rack2, Rack3
Constant Summary
collapse
- IMPLEMENTATION =
Rack2
Class Method Summary
collapse
Class Method Details
.make_response(env, response) ⇒ Object
39
40
41
|
# File 'lib/protocol/rack/adapter.rb', line 39
def self.make_response(env, response)
IMPLEMENTATION.make_response(env, response)
end
|
.new(app) ⇒ Object
35
36
37
|
# File 'lib/protocol/rack/adapter.rb', line 35
def self.new(app)
IMPLEMENTATION.wrap(app)
end
|