Flowdock
method

from_response

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActionDispatch::TestResponse
from_response(response) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 9
    def self.from_response(response)
      new.tap do |resp|
        resp.status  = response.status
        resp.headers = response.headers
        resp.body    = response.body
      end
    end
Register or log in to add new notes.