mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dreamhost|dns] added Record model tests, fix Record.save
Record.save was missing attribute merging before returning
This commit is contained in:
parent
b4f05f6893
commit
90b5d84c6d
2 changed files with 61 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ module Fog
|
|||
def save
|
||||
requires :name, :type, :value
|
||||
|
||||
data = service.create_record(name, type, value, comment)
|
||||
data = service.create_record(name, type, value, comment).body
|
||||
merge_attributes(data)
|
||||
true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue