mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
parent
113b1a666c
commit
065883b066
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ module Fog
|
|||
:data => value
|
||||
}
|
||||
|
||||
if priority
|
||||
options[:priority] = priority
|
||||
end
|
||||
|
||||
response = wait_for_job connection.add_records(@zone.identity, [options]).body['jobId']
|
||||
merge_attributes(response.body['response']['records'].select {|record| record['name'] == self.name && record['type'] == self.type && record['data'] == self.value}.first)
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue