message()
Instance Public methods
Returns the corresponding message for the current HTTP status code:
1 2 3 4 5 | response.status = 200 response.message # => "OK" response.status = 404 response.message # => "Not Found" |
Returns the corresponding message for the current HTTP status code:
1 2 3 4 5 | response.status = 200 response.message # => "OK" response.status = 404 response.message # => "Not Found" |
Designed by : w10schools
service@w10schools.com
Please login to continue.