Class: YahooToken::YahooRequestToken
- Inherits:
-
OAuth::RequestToken
- Object
- OAuth::RequestToken
- YahooToken::YahooRequestToken
- Defined in:
- lib/muck_oauth/services/yahoo_token.rb
Overview
We need to do some special handling to handle this strange parameter:
Instance Method Summary collapse
-
#authorize_url(params = nil) ⇒ Object
handle xoauth_request_auth_url.
-
#initialize(real_token) ⇒ YahooRequestToken
constructor
A new instance of YahooRequestToken.
Constructor Details
#initialize(real_token) ⇒ YahooRequestToken
Returns a new instance of YahooRequestToken.
29 30 31 32 |
# File 'lib/muck_oauth/services/yahoo_token.rb', line 29 def initialize(real_token) super real_token.consumer, real_token.token, real_token.secret @params = real_token.params end |
Instance Method Details
#authorize_url(params = nil) ⇒ Object
handle xoauth_request_auth_url
35 36 37 38 39 40 41 |
# File 'lib/muck_oauth/services/yahoo_token.rb', line 35 def (params = nil) if @params[:xoauth_request_auth_url] return @params[:xoauth_request_auth_url] else super params end end |