Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 826 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 826 Bytes

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

  1. Fork it ( http://github.com/rishijain/adorable_cat/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request =======