diff --git a/lib/fog/dns/models/dnsimple/zones.rb b/lib/fog/dns/models/dnsimple/zones.rb index 6e44a2277..9dc9d5000 100644 --- a/lib/fog/dns/models/dnsimple/zones.rb +++ b/lib/fog/dns/models/dnsimple/zones.rb @@ -10,8 +10,9 @@ module Fog model Fog::DNSimple::DNS::Zone def all + clear data = connection.list_domains.body - load(data) + data.each {|object| self << new(object["domain"]) } end def get(zone_id)