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



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

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

#protocolsObject



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

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



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

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