Omniauth::Svpply

This gem is an OmniAuth 2.0 Strategy for the Svpply API

It supports the OmniAuth REST API which uses OAuth 2.0

Installation

Add this line to your application's Gemfile:

gem 'omniauth-svpply'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-svpply

Usage

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :svpply, ENV['CC_KEY'], ENV['CC_SECRET']
end

In Rails, you'll want to add to the middleware stack:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :svpply, ENV['CC_KEY'], ENV['CC_SECRET']
end

You will have to put in your consumer key and secret, which you can find at http://developers.svpply.com

For additional information, refer to the OmniAuth wiki.

License

This source code released under an MIT license.