Exception: LazyResource::Redirection
- Inherits:
-
ConnectionError
- Object
- StandardError
- ConnectionError
- LazyResource::Redirection
- Defined in:
- lib/lazy_resource/errors.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 LazyResource::ConnectionError
Instance Method Details
#to_s ⇒ Object
:nodoc:
36 |
# File 'lib/lazy_resource/errors.rb', line 36 def to_s; (response.headers['Location'] || response.headers[:Location]) ? "#{super} => #{response.headers['Location'] || response.headers[:Location]}" : super; end |