Skip to content

rishijain/adorable_cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 =======

About

Gem to fetch a random fact and an image url of an adorable cat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages