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

Use the zone id for record creation

This commit is contained in:
Trae Robrock 2013-07-28 13:20:37 -07:00
parent d8ffe4c411
commit 766aca47c1

View file

@ -41,7 +41,7 @@ module Fog
# decide whether its a new record or update of an existing
if id.nil?
data = service.create_record(zone.domain, name, type, value, options)
data = service.create_record(zone.id, name, type, value, options)
else
options[:name] = name if name
options[:content] = value if value