class method self.new

Ruby on Rails 4.1.16

Since v4.1.16 Last seen in v4.1.16

Signature

self.new(request)

No documentation comment.

Parameters

request req
Source
# File actionpack/lib/action_dispatch/testing/assertions/response.rb, line 78
              def initialize(request)
                @_request = request
              end

Defined in actionpack/lib/action_dispatch/testing/assertions/response.rb line 78 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Assertions::ResponseAssertions

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close