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



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

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

#protocolsObject



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

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



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

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