Fog::Collection
# File lib/fog/zerigo/models/dns/zones.rb, line 12 def all data = service.list_zones.body['zones'] load(data) end
# File lib/fog/zerigo/models/dns/zones.rb, line 17 def get(zone_id_or_domain) data = service.get_zone(zone_id_or_domain).body zone = new(data) zone.records.load(data['hosts']) zone rescue Fog::Service::NotFound nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.