Methods

Class/Module Index [+]

Quicksearch

Fog::DNS::Linode::Zones

Public Instance Methods

all() click to toggle source
# File lib/fog/linode/models/dns/zones.rb, line 12
def all
  data = service.domain_list.body['DATA']
  load(data)
end
get(zone_id) click to toggle source
# File lib/fog/linode/models/dns/zones.rb, line 17
def get(zone_id)
  if data = service.domain_list(zone_id).body['DATA'].first
    new(data)
  else
    nil
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.