Class: Mashape::OAuthAuthentication
- Inherits:
-
Authentication
- Object
- Authentication
- Mashape::OAuthAuthentication
- Defined in:
- lib/authentication/oauth_authentication.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(consumer_key, consumer_secret, callback_url) ⇒ OAuthAuthentication
constructor
A new instance of OAuthAuthentication.
Methods inherited from Authentication
Constructor Details
#initialize(consumer_key, consumer_secret, callback_url) ⇒ OAuthAuthentication
Returns a new instance of OAuthAuthentication.
6 7 8 9 10 11 |
# File 'lib/authentication/oauth_authentication.rb', line 6 def initialize(consumer_key, consumer_secret, callback_url) super() @params[:consumer_key] = consumer_key @params[:consumer_secret] = consumer_secret @params[:callback_url] = callback_url end |