class FaradayMiddleware::RedirectLimitReached
Exception thrown when the maximum amount of requests is exceeded.
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
# File lib/faraday_middleware/redirect_limit_reached.rb, line 11 def initialize(response) super "too many redirects; last one to: #{response['location']}" @response = response end