Class: Harbor::Test::Response
- Defined in:
- lib/harbor/test/response.rb
Constant Summary
Constants inherited from Response
Response::NOT_MODIFIED_OMIT_HEADERS
Instance Attribute Summary collapse
-
#request ⇒ Object
Returns the value of attribute request.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
We redefine Harbor::Response.initialize(request) with an empty arg variant for use with a container.
Methods inherited from Response
#[], #[]=, #abort!, #buffer, #cache, #content_type, #content_type=, #flush, #inspect, #message, #messages, #not_modified!, #print, #puts, #redirect, #redirect!, #render, #send_file, #send_files, #set_cookie, #size, #size=, #stream_file, #to_a, #unauthorized, #unauthorized!
Constructor Details
#initialize ⇒ Response
We redefine Harbor::Response.initialize(request) with an empty arg variant for use with a container.
11 12 13 |
# File 'lib/harbor/test/response.rb', line 11 def initialize super(nil) end |
Instance Attribute Details
#request ⇒ Object
Returns the value of attribute request.
5 6 7 |
# File 'lib/harbor/test/response.rb', line 5 def request @request end |