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



93
94
95
# File 'lib/fog/rackspace/load_balancers.rb', line 93

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

#protocolsObject



97
98
99
# File 'lib/fog/rackspace/load_balancers.rb', line 97

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



101
102
103
# File 'lib/fog/rackspace/load_balancers.rb', line 101

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