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



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

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

#protocolsObject



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

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



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

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