Fog::Collection
# File lib/fog/hp/models/lb/algorithms.rb, line 10 def all data = service.list_algorithms.body['algorithms'] load(data) end
# File lib/fog/hp/models/lb/algorithms.rb, line 15 def get(name) data = service.list_algorithms.body['algorithms'] algorithm = data.find {|algo| algo['name'] == name} new(algorithm) rescue Fog::HP::LB::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.