# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 14 def all requires :zone data = connection.list_records(zone.identity).body load(data) end
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 20 def get(record_id) data = connection.get_record(zone.identity, record_id).body new(data) rescue Fog::Service::NotFound nil end
# File lib/fog/dnsmadeeasy/models/dns/records.rb, line 27 def new(attributes = {}) requires :zone super({ :zone => zone }.merge!(attributes)) end