class UrlFetcher::TooManyRedirects
Attributes
max_attempts[R]
url[R]
Public Class Methods
new(url, max_attempts)
click to toggle source
# File lib/url_fetcher/errors.rb, line 7 def initialize(url, max_attempts) @url, @max_attempts = url, max_attempts end
Public Instance Methods
to_s()
click to toggle source
# File lib/url_fetcher/errors.rb, line 11 def to_s "#{url} has too many redirects (over #{max_attempts})." end