Exception: SgtnClient::Exceptions::Redirection

Inherits:
ConnectionError show all
Defined in:
lib/sgtn-client/core/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 SgtnClient::Exceptions::ConnectionError

Instance Method Details

#to_sObject

:nodoc:



48
49
50
# File 'lib/sgtn-client/core/exceptions.rb', line 48

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