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



68
69
70
# File 'lib/fog/rackspace/load_balancers.rb', line 68

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

#protocolsObject



72
73
74
# File 'lib/fog/rackspace/load_balancers.rb', line 72

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



76
77
78
# File 'lib/fog/rackspace/load_balancers.rb', line 76

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