Module: Fog::Rackspace::LoadBalancers::Shared

Included in:
Mock, Real
Defined in:
lib/fog/rackspace/load_balancers.rb

Instance Method Summary collapse

Instance Method Details

#algorithmsObject



78
79
80
# File 'lib/fog/rackspace/load_balancers.rb', line 78

def algorithms
  list_algorithms.body['algorithms'].collect { |i| i['name'] }
end

#protocolsObject



82
83
84
# File 'lib/fog/rackspace/load_balancers.rb', line 82

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



86
87
88
# File 'lib/fog/rackspace/load_balancers.rb', line 86

def usage(options = {})
  get_usage(options).body
end