Exception: Gettc::ProxyError

Inherits:
DownloadError show all
Defined in:
lib/gettc/download.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = "Proxy error")
  @proxy = proxy
  super "#{message}: http_proxy = #{proxy}"
end

Instance Attribute Details

#proxyObject

Returns the value of attribute proxy.



70
71
72
# File 'lib/gettc/download.rb', line 70

def proxy
  @proxy
end