Class: GrabzIt::Proxy
- Inherits:
-
Object
- Object
- GrabzIt::Proxy
- Defined in:
- lib/grabzit/proxy.rb
Overview
This class represents the local proxy
Instance Method Summary collapse
-
#host ⇒ String
Returns the host of the proxy.
-
#password ⇒ String
- String
-
returns the password of the proxy.
-
#port ⇒ String
Returns the port of the proxy.
-
#username ⇒ String
Returns the username of the proxy.
Instance Method Details
#host ⇒ String
Returns the host of the proxy
16 17 18 |
# File 'lib/grabzit/proxy.rb', line 16 def host @Host end |
#password ⇒ String
Returns [String] returns the password of the proxy.
31 32 33 34 35 36 |
# File 'lib/grabzit/proxy.rb', line 31 def password if @Password == nil return @Password end return CGI.unescape(@Password) end |
#port ⇒ String
Returns the port of the proxy
20 21 22 |
# File 'lib/grabzit/proxy.rb', line 20 def port @Port end |
#username ⇒ String
Returns the username of the proxy
24 25 26 27 28 29 |
# File 'lib/grabzit/proxy.rb', line 24 def username if @Username == nil return @Username end return CGI.unescape(@Username) end |