Class: ActionController::LiveTestResponse
- Inherits:
-
ActionController::Live::Response
- Object
- ActionDispatch::Response
- ActionController::Live::Response
- ActionController::LiveTestResponse
- Defined in:
- lib/action_controller/test_case.rb
Constant Summary
Constants inherited from ActionDispatch::Response
ActionDispatch::Response::CONTENT_TYPE, ActionDispatch::Response::EMPTY, ActionDispatch::Response::LOCATION, ActionDispatch::Response::NO_CONTENT_CODES, ActionDispatch::Response::SET_COOKIE
Constants included from ActionDispatch::Http::FilterRedirect
ActionDispatch::Http::FilterRedirect::FILTERED
Instance Attribute Summary
Attributes inherited from ActionDispatch::Response
#charset, #content_type, #header, #request, #sending_file, #status, #stream
Attributes included from ActionDispatch::Http::Cache::Response
Instance Method Summary collapse
Methods inherited from ActionDispatch::Response
#_status_code, #await_commit, #await_sent, #body=, #body_parts, #close, #code, #commit!, #committed?, #cookies, #delete_cookie, #initialize, #location, #location=, #message, #respond_to?, #response_code, #sending!, #sending?, #sent!, #sent?, #set_cookie, #to_a, #to_path
Methods included from ActionDispatch::Http::Cache::Response
#date, #date=, #date?, #last_modified, #last_modified=, #last_modified?
Methods included from ActionDispatch::Http::FilterRedirect
Constructor Details
This class inherits a constructor from ActionDispatch::Response
Instance Method Details
#body ⇒ Object
267 268 269 |
# File 'lib/action_controller/test_case.rb', line 267 def body @body ||= super end |
#recycle! ⇒ Object
262 263 264 265 |
# File 'lib/action_controller/test_case.rb', line 262 def recycle! @body = nil initialize end |