lib/fog/rackspace/models/dns/record.rb in fog-1.0.0 vs lib/fog/rackspace/models/dns/record.rb in fog-1.1.0

- old
+ new

@@ -49,10 +49,10 @@ :type => type, :data => value } response = wait_for_job connection.add_records(@zone.identity, [options]).body['jobId'] - merge_attributes(response.body['records'].first) + merge_attributes(response.body['response']['records'].select {|record| record['name'] == self.name && record['type'] == self.type && record['data'] == self.value}.first) true end def update requires :identity, :zone