From e8c328edfb763fb616e0e21633d1ce721cd4859c Mon Sep 17 00:00:00 2001 From: Trae Robrock Date: Sun, 28 Jul 2013 20:29:49 -0700 Subject: [PATCH] Use the id for deletion also --- lib/fog/dnsimple/models/dns/record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/dnsimple/models/dns/record.rb b/lib/fog/dnsimple/models/dns/record.rb index ddb23473b..362e70859 100644 --- a/lib/fog/dnsimple/models/dns/record.rb +++ b/lib/fog/dnsimple/models/dns/record.rb @@ -25,7 +25,7 @@ module Fog end def destroy - service.delete_record(zone.domain, identity) + service.delete_record(zone.id, identity) true end