# File lib/fog/zerigo/models/dns/records.rb, line 14 def all requires :zone parent = zone.collection.get(zone.identity) if parent merge_attributes(parent.records.attributes) load(parent.records.map {|record| record.attributes}) else nil end end
# File lib/fog/zerigo/models/dns/records.rb, line 37 def find(fqdn) hosts = service.find_hosts(fqdn, zone.id).body['hosts'] hosts.collect { |host| new(host) } end
Generated with the Darkfish Rdoc Generator 2.