Exception: Rack::GenericProxyURI
- Inherits:
-
Exception
- Object
- Exception
- Rack::GenericProxyURI
- Defined in:
- lib/rack/reverse_proxy.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
114 115 116 |
# File 'lib/rack/reverse_proxy.rb', line 114 def url @url end |
Instance Method Details
#intialize(url) ⇒ Object
116 117 118 |
# File 'lib/rack/reverse_proxy.rb', line 116 def intialize(url) @url = url end |
#to_s ⇒ Object
120 121 122 |
# File 'lib/rack/reverse_proxy.rb', line 120 def to_s %Q(Your URL "#{@url}" is too generic. Did you mean "http://#{@url}"?) end |