Class: FacebookDialog::Oauth
- Defined in:
- lib/facebook_dialog/oauth.rb
Constant Summary
Constants inherited from Dialog
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Oauth
constructor
A new instance of Oauth.
- #scope ⇒ Object
Methods inherited from Dialog
base_uri, #query, #serializable_hash, #to_h, #url
Constructor Details
#initialize(options = {}) ⇒ Oauth
Returns a new instance of Oauth.
5 6 7 8 |
# File 'lib/facebook_dialog/oauth.rb', line 5 def initialize(= {}) super @options[:client_id] ||= @options.delete(:app_id) end |
Instance Method Details
#scope ⇒ Object
10 11 12 |
# File 'lib/facebook_dialog/oauth.rb', line 10 def scope @options[:scope] end |