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:
parent
0afdbd42eb
commit
9d4bfa3533
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ module Fog
|
|||
|
||||
def all
|
||||
requires :zone
|
||||
clear
|
||||
data = connection.list_records(zone.id).body
|
||||
data.each {|object| self << new(object["record"]) }
|
||||
end
|
||||
|
||||
def get(record_id)
|
||||
|
|
Loading…
Reference in a new issue