Exception: ApiResource::Redirection

Inherits:
ConnectionError show all
Defined in:
lib/api_resource/exceptions.rb

Overview

3xx Redirection

Instance Attribute Summary

Attributes inherited from ConnectionError

#response

Instance Method Summary collapse

Methods inherited from ConnectionError

#http_code, #initialize

Constructor Details

This class inherits a constructor from ApiResource::ConnectionError

Instance Method Details

#to_sObject

:nodoc:



58
# File 'lib/api_resource/exceptions.rb', line 58

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