instance method
options
Ruby on Rails 7.1.6
Since v6.1.7.10Signature
options(path, **args)
Performs an OPTIONS request with the given parameters. See ActionDispatch::Integration::Session#process for more details.
Parameters
-
pathreq -
argskeyrest
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 51
def options(path, **args)
process(:options, path, **args)
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 51
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::RequestHelpers