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



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

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

#protocolsObject



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

def protocols
  list_protocols.body['protocols']
end

#usage(options = {}) ⇒ Object



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

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