Skip to content
mwunsch edited this page Oct 3, 2012 · 19 revisions

Weary

A Ruby library that makes consuming RESTful web services simple. It's a DSL, which means you're supposed to use it to help you write other libraries.

Build status on Travis CI

Weary's current version is 1.1.1.

Weary on RubyGems.org

Weary on RubyDoc.info

Weary on Travis CI

Look for more blog posts and writing on Weary, here: http://mwunsch.tumblr.com/tagged/weary

Installation

gem install weary

You might need to use sudo depending on your Ruby installation.

Build from source

Download the source from GitHub. Make sure you have bundler on your $PATH. Run bundle install. Hooray you did it.

Run bundle exec rake to run the specs.

Walkthrough

In order to best understand how Weary works, and how it integrates with Rack, it helps to start at the most granular level of Weary and work up to its more useful abstractions.

The Client class represents the Weary DSL, but all of these classes are useful in their own right. The lower level classes (Request/Response) might be enough if you don't need the full power of Weary::Client.

Screencast

Weary v1.0.0 Basics covers the basics of the API and integration with Rack.

Clone this wiki locally