AdorableCat
A gem to fetch a random fact about cats and fetch an image url of an adorable cat. Everytime you make a method call, you get a new fact about cats and a new image of a cat.
See live here: http://adorable-cat.herokuapp.com/
Installation
Add this line to your application's Gemfile:
gem 'adorable_cat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install adorable_cat
Usage
To fetch data about cat, just do this in your ruby code:
fact, url = AdorableCat.get_cat_data
Contributing
- Fork it ( http://github.com/rishijain/adorable_cat/fork )
- 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 =======