Exception: Gettc::ProxyError
- Inherits:
-
DownloadError
- Object
- StandardError
- DownloadError
- Gettc::ProxyError
- Defined in:
- lib/gettc/download.rb
Instance Attribute Summary collapse
-
#proxy ⇒ Object
Returns the value of attribute proxy.
Instance Method Summary collapse
-
#initialize(proxy, message = "Proxy error") ⇒ ProxyError
constructor
A new instance of ProxyError.
Constructor Details
#initialize(proxy, message = "Proxy error") ⇒ ProxyError
Returns a new instance of ProxyError.
72 73 74 75 |
# File 'lib/gettc/download.rb', line 72 def initialize(proxy, = "Proxy error") @proxy = proxy super "#{}: http_proxy = #{proxy}" end |
Instance Attribute Details
#proxy ⇒ Object
Returns the value of attribute proxy.
70 71 72 |
# File 'lib/gettc/download.rb', line 70 def proxy @proxy end |