Class: Vessel::ShuffledProxy

Inherits:
RoundRobinProxy show all
Defined in:
lib/vessel/proxy.rb

Constant Summary

Constants inherited from RoundRobinProxy

RoundRobinProxy::PROXIES

Instance Attribute Summary

Attributes inherited from Proxy

#proxies

Instance Method Summary collapse

Methods inherited from RoundRobinProxy

#initialize

Methods inherited from Proxy

#next

Constructor Details

This class inherits a constructor from Vessel::RoundRobinProxy

Instance Method Details

#prepareObject



36
37
38
39
# File 'lib/vessel/proxy.rb', line 36

def prepare
  @proxies = @proxies.shuffle
  true
end