Module: Fog::Rackspace::LoadBalancers::Shared

Included in:
Mock, Real
Defined in:
lib/rackspace-fog/rackspace/load_balancers.rb

Instance Method Summary collapse

Instance Method Details

#algorithmsObject



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

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

#protocolsObject



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

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



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

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