class FaradayMiddleware::RedirectLimitReached
Public: 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/response/follow_redirects.rb, line 9 def initialize(response) super "too many redirects; last one to: #{response['location']}" @response = response end