instance method
patch
Ruby on Rails 4.0.13
Since v4.0.13Signature
patch(path, parameters = nil, headers_or_env = nil)
Performs a PATCH request with the given parameters. See #get for more details.
Parameters
-
pathreq -
parametersopt = nil -
headers_or_envopt = nil
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 43
def patch(path, parameters = nil, headers_or_env = nil)
process :patch, path, parameters, headers_or_env
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::RequestHelpers