CachedWeb
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'mechanize'
gem 'cached_web'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cached_web
Usage
Call CachedWeb get with the URL and it will get it via mechanize and cache it locally in /tmp
content, redirect_url, headers = CachedWeb.get(:url=>url)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request