Exception: AliexpressAPI::RedirectionError

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

Instance Attribute Summary

Attributes inherited from ResponseError

#response

Instance Method Summary collapse

Methods inherited from ResponseError

#initialize

Constructor Details

This class inherits a constructor from AliexpressAPI::ResponseError

Instance Method Details

#to_sObject



31
32
33
# File 'lib/aliexpress_api/exceptions.rb', line 31

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