This is an OmniAuth strategy for authenticating to drchrono. To use it, you'll need to sign up for the drchrono api.
Add this line to your application's Gemfile:
gem 'omniauth-drchrono'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-drchrono
use OmniAuth::Builder do
provider :drchrono, ENV['DRCHRONO_CLIENT_ID'], ENV['DRCHRONO_CLIENT_SECRET']
end
- Fork it ( https://github.com/johnnadeau/omniauth-drchrono/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