# File lib/fog/dnsmadeeasy/models/dns/zone.rb, line 15 def destroy requires :identity connection.delete_domain(identity) true end
# File lib/fog/dnsmadeeasy/models/dns/zone.rb, line 21 def records @records ||= begin Fog::DNS::DNSMadeEasy::Records.new( :zone => self, :connection => connection ) end end
# File lib/fog/dnsmadeeasy/models/dns/zone.rb, line 30 def save requires :domain data = connection.create_domain(domain).body self.identity = data['name'] merge_attributes(data) true end