Class: Proxypool::Proxy

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

Instance Attribute Summary collapse

Instance Attribute Details

#ip ⇒ Object (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_at ⇒ Object (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

#password ⇒ Object (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

#port ⇒ Object (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

#protocol ⇒ Object (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_count ⇒ Object (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

#username ⇒ Object (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

#valid ⇒ Object (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