Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Network::Softlayer::Subnets

Public Instance Methods

all() click to toggle source
# File lib/fog/softlayer/models/network/subnets.rb, line 19
def all
  load(service.list_subnets.body)
end
get(id) click to toggle source
# File lib/fog/softlayer/models/network/subnets.rb, line 23
def get(id)
  if subnet = service.get_subnet(id).body
    new(subnet)
  end
rescue Fog::Network::Softlayer::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.