Hugs

Hugs net-http-persistent with convenient delete, get, head, post, and put methods. Automatically parses JSON and XML responses.

Why?

Opted to write this gem for a few reasons:

Opinionated

Intended for but not limited to, endpoints that return JSON or XML.

Usage

Bundler

gem "hugs"

Examples

See the 'Examples' section in the wiki.

Compatability

ruby 1.9.2

Testing

Tests can run offline thanks to webmock.

$ bundle exec rake