Class: Proxypool::Proxy

Inherits:
Data
  • Object
show all
Defined in:
lib/proxypool.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ipObject (readonly)

Returns the value of attribute ip

Returns:

  • (Object)

    the current value of ip



8
9
10
# File 'lib/proxypool.rb', line 8

def ip
  @ip
end

#last_used_atObject (readonly)

Returns the value of attribute last_used_at

Returns:

  • (Object)

    the current value of last_used_at



8
9
10
# File 'lib/proxypool.rb', line 8

def last_used_at
  @last_used_at
end

#passwordObject (readonly)

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



8
9
10
# File 'lib/proxypool.rb', line 8

def password
  @password
end

#portObject (readonly)

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



8
9
10
# File 'lib/proxypool.rb', line 8

def port
  @port
end

#protocolObject (readonly)

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



8
9
10
# File 'lib/proxypool.rb', line 8

def protocol
  @protocol
end

#usage_countObject (readonly)

Returns the value of attribute usage_count

Returns:

  • (Object)

    the current value of usage_count



8
9
10
# File 'lib/proxypool.rb', line 8

def usage_count
  @usage_count
end

#usernameObject (readonly)

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



8
9
10
# File 'lib/proxypool.rb', line 8

def username
  @username
end

#validObject (readonly)

Returns the value of attribute valid

Returns:

  • (Object)

    the current value of valid



8
9
10
# File 'lib/proxypool.rb', line 8

def valid
  @valid
end