Exception: RestClient::Redirect
- Defined in:
- lib/vendor/rest-client/lib/rest_client/request_errors.rb
Overview
A redirect was encountered; caught by execute to retry with the new url.
Constant Summary collapse
- ErrorMessage =
"Redirect"
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ Redirect
constructor
A new instance of Redirect.
Methods inherited from Exception
Constructor Details
#initialize(url) ⇒ Redirect
Returns a new instance of Redirect.
15 16 17 |
# File 'lib/vendor/rest-client/lib/rest_client/request_errors.rb', line 15 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
14 15 16 |
# File 'lib/vendor/rest-client/lib/rest_client/request_errors.rb', line 14 def url @url end |