30 Apr '12, 1am
@mbusigin and check out HTTParty
Another library that abstracts over Net::HTTP is Adam Wiggin's 'rest-client' library. It seems more targeted toward single requests (i.e. Restclient.get 'google.com') than mixing in and building a request class like HTTParty, though both libraries do variants of each style. It has a great interactive shell and request logging. http://github.com/archiloque/rest-client/ I **highly** recommend another library authored by Mr. Wiggins that abstracts over the messy file system api, 'rush'. I'm really surprised that more libraries and apps that have a non-trivial amount of file system code don't use it. http://rush.heroku.com/ The code is very clean in both, I tip my hat to you Mr. Wiggins.