A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/naveed-ahmad/omniauth-smashrun below:

naveed-ahmad/omniauth-smashrun: OmniAuth strategy for Smashrun.

Omniauth::Strategies::Smashrun

Omniauth strategy for Smashrun ( https://api.smashrun.com/v1/documentation )

Installation

Add this line to your application's Gemfile:

gem 'omniauth-smashrun'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-smashrun
Usage

Register Smashrun Strategy in omniauth configuration file(config/initializers/omniauth.rb)

 Rails.application.config.middleware.use OmniAuth::Builder do
  provider :smashrun, 'client id', 'client secret'
end

Use Smasrun clinet gem for consuming smashrun api

License

MIT License


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4