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