WonderWays
This is a gem to consume WonderWays api at https://github.com/bhargavisatpathy/trails
Installation
Add this line to your application's Gemfile:
gem 'wonder_ways'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wonder_ways
Usage
ww = WonderWays.new 'http://localhost:3000'
ww.list_trails 1 # => list of Trail objects
Contributing
- Fork it ( https://github.com/[my-github-username]/wonder_ways/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 a new Pull Request