Method: TinyClient::Response#not_found_error?
- Defined in:
- lib/tiny_client/response.rb
#not_found_error? ⇒ Boolean
Returns true if the HTTP status code of this response is 404.
47 48 49 |
# File 'lib/tiny_client/response.rb', line 47 def not_found_error? @code == 404 end |