Sha256: f09ab00bbc1a68dfa584cd1cae3a9760e9dfd85717ea589425825d812fd86354
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 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 = nil, consumer_secret = nil, options = {}, &block) 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/"}, options) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oa-oauth-0.2.0.beta1 | lib/omniauth/strategies/meetup.rb |