Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::HP::LB::Protocols

Public Instance Methods

all() click to toggle source
# File lib/fog/hp/models/lb/protocols.rb, line 10
def all
  data = service.list_protocols.body['protocols']
  load(data)
end
get(name) click to toggle source
# File lib/fog/hp/models/lb/protocols.rb, line 15
def get(name)
  data = service.list_protocols.body['protocols']
  protocol = data.find {|p| p['name'] == name}
  new(protocol)
rescue Fog::HP::LB::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.