A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://rubydoc.info/github/piotrmurach/github/master/Github/RedirectLimitReached below:

RedirectLimitReached – Documentation for piotrmurach/github (master) – RubyDoc.info

Class: Github::RedirectLimitReached
Inherits:
Faraday::ClientError show all
Defined in:
lib/github_api/response/follow_redirects.rb
Overview

Public: Exception thrown when the maximum amount of requests is exceeded.

Instance Attribute Summary collapse Instance Method Summary collapse Constructor Details #initialize(response) ⇒ RedirectLimitReached

Returns a new instance of RedirectLimitReached.

14
15
16
17
# File 'lib/github_api/response/follow_redirects.rb', line 14

def initialize(response)
  super "too many redirects; last one to: #{response['location']}"
  @response = response
end
Instance Attribute Details #response ⇒ Object

Returns the value of attribute response.

12
13
14
# File 'lib/github_api/response/follow_redirects.rb', line 12

def response
  @response
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4