Class: Rambo::Response
- Inherits:
-
Rack::Response
- Object
- Rack::Response
- Rambo::Response
- Defined in:
- lib/rambo/response.rb
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize ⇒ Response
Returns a new instance of Response.
3 4 5 6 |
# File 'lib/rambo/response.rb', line 3 def initialize @status, @body = 200, [] @header = Rack::Utils::HeaderHash.new({'Content-Type' => 'text/html'}) end |