fog/fog — pull request #626 by ktheory (2011-11-29 19:04:51+00:00)
Title: [aws|dns] Add Record#modify method

Allow modifying a Route 53 dns record. It generates a single BatchRequest that deletes the current record and creates a record with the new attributes.

E.g.:

# Create a record
record = zone.records.create(:name => 'example.tld', :value => 1.1.1.1, :ttl => 60, type => 'A')

# Change the value and ttl
record.modify(:value => 2.2.2.2, :ttl => 300)