{"issue":{"created_at":"2011-11-29T19:04:51Z","state":"open","updated_at":"2011-11-29T20:01:38Z","user":{"gravatar_id":"5888fc25101419e40b7de521f8524dad","id":975,"url":"https://api.github.com/users/ktheory","avatar_url":"https://secure.gravatar.com/avatar/5888fc25101419e40b7de521f8524dad?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ktheory"},"comments":1,"body":"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.\r\n\r\nE.g.:\r\n\r\n    # Create a record\r\n    record = zone.records.create(:name => 'example.tld', :value => 1.1.1.1, :ttl => 60, type => 'A')\r\n\r\n    # Change the value and ttl\r\n    record.modify(:value => 2.2.2.2, :ttl => 300)","assignee":null,"id":2390391,"number":626,"pull_request":{"patch_url":"https://github.com/fog/fog/pull/626.patch","html_url":"https://github.com/fog/fog/pull/626","diff_url":"https://github.com/fog/fog/pull/626.diff"},"labels":[],"title":"[aws|dns] Add Record#modify method","closed_at":null,"html_url":"https://github.com/fog/fog/issues/626","url":"https://api.github.com/repos/fog/fog/issues/626","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T20:01:38Z","updated_at":"2011-11-29T20:01:38Z","user":{"gravatar_id":"e3191b55da8ada73c3e1ada98a63af6e","id":4138,"url":"https://api.github.com/users/geemus","avatar_url":"https://secure.gravatar.com/avatar/e3191b55da8ada73c3e1ada98a63af6e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"geemus"},"body":"I like the functionality, but it is a departure from other providers.  Would it be possible to do the same kind of thing inside of save and just make the decision based on whether or not it has an identity value (or something to that effect which can predict if it is an existing record).  I think that would make the interface remain consistent while adding function.  Thanks!","id":2945078,"url":"https://api.github.com/repos/fog/fog/issues/comments/2945078"}}