instance method
response_code
Ruby on Rails 8.0.4
Since v3.0.20Signature
response_code()
The response code of the request.
Source
# File actionpack/lib/action_dispatch/http/response.rb, line 332
def response_code
@status
end
Defined in actionpack/lib/action_dispatch/http/response.rb line 332
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response