Exception: Nestful::Redirection

Inherits:
ResponseError show all
Defined in:
lib/nestful/exceptions.rb

Overview

3xx Redirection

Instance Attribute Summary

Attributes inherited from ResponseError

#response

Attributes inherited from Error

#request

Instance Method Summary collapse

Methods inherited from ResponseError

#initialize

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Nestful::ResponseError

Instance Method Details

#to_sObject

:nodoc:


55
# File 'lib/nestful/exceptions.rb', line 55

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