Exception: ActiveResource::Redirection

Inherits:
ConnectionError show all
Defined in:
activeresource/lib/active_resource/connection.rb,
activeresource/lib/active_resource/exceptions.rb

Overview

3xx Redirection

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary (collapse)

Methods inherited from ConnectionError

#initialize

Constructor Details

This class inherits a constructor from ActiveResource::ConnectionError

Instance Method Details

- (Object) to_s

:nodoc:



39
# File 'activeresource/lib/active_resource/connection.rb', line 39

def to_s; response['Location'] ? "#{super} => #{response['Location']}" : super; end