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

fixed bug whereby zone.records() was returning empty record objects

This commit is contained in:
Ijonas Kisselbach 2011-03-10 08:01:46 +08:00 committed by Wesley Beary
parent 0afdbd42eb
commit 9d4bfa3533

View file

@ -13,7 +13,9 @@ module Fog
def all
requires :zone
data = connection.list_records(zone.id).body
clear
data = connection.list_records(zone.id).body
data.each {|object| self << new(object["record"]) }
end
def get(record_id)