Oauth2Rails
A gem that currently provides support for the Fitbit API using Oauth2 protocol.
Installation
Add this line to your application's Gemfile:
gem 'oauth2_fitbit_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install oauth2_rails
Contributing
One project I would be very interested in is extracting this to a more general framework, that works with most clients on rails. For example, I'm sure the Fitbit flow is a little different, so it would not work always with other providers.
- Fork it ( https://github.com/[my-github-username]/oauth2_fitbit_rails/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