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