Twitter is removing the direct messages endpoints on June 19th, and has already replaced them with new endpoints that take and return a different structure. One of the benefits to using a gem is that we can have as little disruption as possible in these changes, so I updated the methods that will no longer work with the twitter API to do the new thing, but take the as many of the same arguments as possible, and return the same structure as before as often as possible. My goal in this PR was to break as few things as possible in the transition.
Twitter is removing the direct messages endpoints on June 19th, and has already replaced them with new endpoints that take and return a different structure. One of the benefits to using a gem is that we can have as little disruption as possible in these changes, so I updated the methods that will no longer work with the twitter API to do the new thing, but take the as many of the same arguments as possible, and return the same structure as before as often as possible. My goal in this PR was to break as few things as possible in the transition.