Sha256: 975434cfd725d2fd6db5fc759f905e453eb5957207f6b4d605d179bcd5aeb2dd
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
module FbGraph2 class Auth < Rack::OAuth2::Client def initialize(client_id, client_secret, options = {}) super options.merge( identifier: client_id, secret: client_secret, host: URI.parse(FbGraph2.root_url).host, authorize_endpoint: '/oauth/authorize', token_endpoint: '/oauth/access_token' ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.0.8 | lib/fb_graph2/auth.rb |