method
from_response
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::TestResponse
from_response(response)public
No documentation available.
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 9
def self.from_response(response)
new response.status, response.headers, response.body, default_headers: nil
end