Exception: ActiveResource::Redirection
- Inherits:
-
ConnectionError
- Object
- StandardError
- ConnectionError
- ActiveResource::Redirection
- Defined in:
- lib/active_resource/exceptions.rb
Overview
3xx Redirection
Instance Attribute Summary
Attributes inherited from ConnectionError
Instance Method Summary collapse
-
#to_s ⇒ Object
:nodoc:.
Methods inherited from ConnectionError
Constructor Details
This class inherits a constructor from ActiveResource::ConnectionError
Instance Method Details
#to_s ⇒ Object
:nodoc:
40 41 42 |
# File 'lib/active_resource/exceptions.rb', line 40 def to_s response["Location"] ? "#{super} => #{response['Location']}" : super end |