class RackReverseProxy::Errors::GenericURI

GenericURI indicates that url is too generic

Attributes

url[R]

Public Instance Methods

intialize(url) click to toggle source
# File lib/rack_reverse_proxy/errors.rb, line 7
def intialize(url)
  @url = url
end
to_s() click to toggle source
# File lib/rack_reverse_proxy/errors.rb, line 11
def to_s
  %(Your URL "#{@url}" is too generic. Did you mean "http://#{@url}"?)
end