Class: Vessel::RoundRobinProxy

Inherits:
Proxy
  • Object
show all
Defined in:
lib/vessel/proxy.rb

Direct Known Subclasses

ShuffledProxy

Constant Summary collapse

PROXIES =
[].freeze

Instance Attribute Summary

Attributes inherited from Proxy

#proxies

Instance Method Summary collapse

Methods inherited from Proxy

#next

Constructor Details

#initializeRoundRobinProxy

Returns a new instance of RoundRobinProxy.



25
26
27
28
# File 'lib/vessel/proxy.rb', line 25

def initialize
  @proxies = self.class::PROXIES
  super
end

Instance Method Details

#prepareObject



30
31
32
# File 'lib/vessel/proxy.rb', line 30

def prepare
  true
end