class Servent::ProxyConfig

Attributes

host[RW]
pass[RW]
port[W]
user[RW]

Public Instance Methods

empty?() click to toggle source
# File lib/servent/event_source.rb, line 120
def empty?
  @host.nil? && @port.nil? && @user.nil? && @pass.nil?
end
parameterize() click to toggle source
# File lib/servent/event_source.rb, line 124
def parameterize
  [host, port, user, pass]
end
port() click to toggle source
# File lib/servent/event_source.rb, line 116
def port
  @port.to_i
end