Sha256: e7688b4ae77801be925ab090279d184d7753d4ff298e2b4bb3249564b682acf6
Contents?: true
Size: 754 Bytes
Versions: 1
Compression:
Stored size: 754 Bytes
Contents
require 'omniauth/oauth' require 'multi_json' module OmniAuth module Strategies # # Authenticate to Meetup via OAuth and retrieve an access token for API usage # # Usage: # # use OmniAuth::Strategies::Meetup, 'consumerkey', 'consumersecret' # class Meetup < OmniAuth::Strategies::OAuth def initialize(app, consumer_key, consumer_secret) super(app, :meetup, consumer_key, consumer_secret, # :site => 'https://api.meetup.com', :request_token_path => "https://api.meetup.com/oauth/request", :access_token_path => "https://api.meetup.com/oauth/access", :authorize_path => "http://www.meetup.com/authorize/") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oa-oauth-0.1.6 | lib/omniauth/strategies/meetup.rb |