Exception: Slash::Redirection

Inherits:
ConnectionError show all
Defined in:
lib/slash/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 Slash::ConnectionError

Instance Method Details

#to_sObject

:nodoc:



33
# File 'lib/slash/exceptions.rb', line 33

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