Class: Rambo::Response

Inherits:
Rack::Response
  • Object
show all
Defined in:
lib/rambo/response.rb

Instance Method Summary collapse

Constructor Details

#initializeResponse

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