Class: Headsail::OAuth
- Inherits:
-
Object
- Object
- Headsail::OAuth
- Defined in:
- lib/headsail/oauth.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
Instance Method Summary collapse
-
#initialize(oauth) ⇒ OAuth
constructor
A new instance of OAuth.
Constructor Details
#initialize(oauth) ⇒ OAuth
Returns a new instance of OAuth.
7 8 9 10 11 |
# File 'lib/headsail/oauth.rb', line 7 def initialize(oauth) return false if oauth.nil? @oauth = oauth @access_token = oauth_token end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
5 6 7 |
# File 'lib/headsail/oauth.rb', line 5 def access_token @access_token end |