Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::CloudSigma::Ips

Public Instance Methods

all() click to toggle source
# File lib/fog/cloudsigma/models/ips.rb, line 10
def all
  resp = service.list_ips
  data = resp.body['objects']
  load(data)
end
get(ip) click to toggle source
# File lib/fog/cloudsigma/models/ips.rb, line 16
def get(ip)
  resp = service.get_ip(ip)
  data = resp.body
  new(data)
rescue Fog::CloudSigma::Errors::NotFound
  return nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.