1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

zone.id instead of zone.domain

domain=nil for me... but id looks good

```
dme.zones.find{ |z| z.id == 'foo.instantinfrastructure.com'}.records.find_all{|r| r.name=='foo' && r.type=='A'}.first.zone
=>   <Fog::DNS::DNSMadeEasy::Zone
    id="foo.instantinfrastructure.com",
    domain=nil,
    gtd_enabled=nil,
    nameservers=nil
  >
```
This commit is contained in:
Hippie Hacker 2015-03-05 15:33:03 -08:00
parent 6c22118fa5
commit 3cfb5e287d

View file

@ -28,7 +28,7 @@ module Fog
end
def destroy
service.delete_record(zone.domain, identity)
service.delete_record(zone.id, identity)
true
end