Class: Rack::OAuth2::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/patch/rack/oauth2/client.rb,
lib/patch/rack/oauth2/grant/fb_exchange_token.rb

Defined Under Namespace

Classes: Grant

Instance Method Summary collapse

Instance Method Details

#fb_exchange_token=(access_token) ⇒ Object



6
7
8
9
10
# File 'lib/patch/rack/oauth2/client.rb', line 6

def fb_exchange_token=(access_token)
  @grant = Grant::FbExchangeToken.new(
    :fb_exchange_token => access_token
  )
end