mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fixed bug whereby dns.zones() was returning empty zone objects
This commit is contained in:
parent
df8ecccf84
commit
0afdbd42eb
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue