Match URL's to request strategies and retrieve them in a usable format. Urifetch allows you to fetch data from any URL using pattern matching. The library allows for dynamically adding match handlers as well as build your own strategies.
gem install urifetch
Gemfile:
gem 'urifetch' Run: ~$ bundle install
require 'urifetch'
response = Urifetch.fetch_from("http://www.github.com") response.status => ["200","ok"] response.data => { title: 'Google' }
Copyright (c) 2012 Philip Vieira. See LICENSE.txt for further details.