OmniAuth Draugiem
OmniAuth strategy for authenticating to draugiem.lv
Installation
Add this line to your application's Gemfile:
gem 'omniauth-draugiem'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-draugiem
Usage
Add this to config/initializers/omniauth.rb
Rails.application.config.middleware.use OmniAuth::Builder do
provider :draugiem, 'app_id', 'api_key'
end
Contributing
- Fork it ( http://github.com/mak-it/omniauth-draugiem/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 new Pull Request