A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/JCBarry/omniauth-getglue below:

JCBarry/omniauth-getglue: Omniauth strategy for the GetGlue

This gem is an OmniAuth 1.0 Strategy for the GetGlue API

Add the strategy to your Gemfile alongside OmniAuth:

gem 'omniauth'
gem 'omniauth-getglue'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :getglue, ENV['GETGLUE_CONSUMER_KEY_'], ENV['GETGLUE_CONSUMER_SECRET']
end

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

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :getglue, ENV['GETGLUE_CONSUMER_KEY_'], ENV['GETGLUE_CONSUMER_SECRET']
end

You will have to put in your consumer key and secret.

For additional information, refer to the OmniAuth wiki.

Note on Patches/Pull Requests

Copyright (c) 2012 Jason Barry. See LICENSE for details.


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