by Cardinal Blue http://cardinalblue.com
You can also read some other topics at doc.
Modular Ruby clients interface for REST APIs
rest-core 1.0.3 – 2012-08-15
client.headnow returns the headers instead of response body. It doesn’t make sense to return the response body, because there’s no such things in a HEAD request.
[Cache] The cache object you passed in would only need to respond to
=. If the cache object accepts an
:expires_inoption, then it must also respond to
[Oauth1Header] Fixed a long standing bug that tilde (~) shouldn’t be escaped. Many thanks to @brucehsu for discovering this!
gem install rest-core
Or if you want development version, put this in Gemfile:
gem 'rest-core', :git => 'git://github.com/cardinalblue/rest-core.git', :submodules => true
If you just want to use Facebook or Twitter clients, please take a look at rest-more which has a lot of clients built with rest-core.