TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'nugz'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nugz
The Nugz gem makes it easy to consume the MileHigh API, which can be found at http://www.milehighbuzz.co/api/v1/reviews and http://www.milehighbuzz.co/api/v1/stores.
To get information about reviews and stores, use Nugz::Reviews and Nugz::Stores. Here are the methods that they provide:
Nugz::Reviews.all
gives back an array of hashes that contain information
about all of the reviews in the system.
Nugz::Reviews.find_store(slug)
gives back an array of hashes that each contain
a review about that store. You need to pass in the slugified version of the
store name to use this method.
Nugz::Stores.all
gives back an array of hashes that contain information
about all of the stores in the system.
Nugz::Stores.find_store(slug)
gives back a hash that contains the information
about the store searched for. You need to pass in the slugified version of the
store name to use this method.
- 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