Method: TinyClient::Response#redirect?
- Defined in:
- lib/tiny_client/response.rb
#redirect? ⇒ Boolean
Returns true if the HTTP status code of this response correspond to a redirect.
62 63 64 |
# File 'lib/tiny_client/response.rb', line 62 def redirect? (300..399).cover?(@code) end |