Class: Oauth::Contacts::OAuth2
- Defined in:
- lib/oauth/contacts/oauth2.rb
Constant Summary collapse
- VERSION =
2.0
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Attributes inherited from Base
#access_token, #callback_url, #consumer
Instance Method Summary collapse
-
#initialize ⇒ OAuth2
constructor
A new instance of OAuth2.
- #version ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ OAuth2
Returns a new instance of OAuth2.
13 14 15 |
# File 'lib/oauth/contacts/oauth2.rb', line 13 def initialize super end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
7 8 9 |
# File 'lib/oauth/contacts/oauth2.rb', line 7 def code @code end |
Instance Method Details
#version ⇒ Object
9 10 11 |
# File 'lib/oauth/contacts/oauth2.rb', line 9 def version VERSION end |