Class: OAuthToken
- Inherits:
-
Object
- Object
- OAuthToken
- Defined in:
- lib/dropbox_sdk_v2.rb
Overview
A class that represents either an OAuth request token or an OAuth access token.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
:nodoc:.
-
#secret ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(key, secret) ⇒ OAuthToken
constructor
A new instance of OAuthToken.
Constructor Details
#initialize(key, secret) ⇒ OAuthToken
Returns a new instance of OAuthToken.
688 689 690 691 |
# File 'lib/dropbox_sdk_v2.rb', line 688 def initialize(key, secret) @key = key @secret = secret end |
Instance Attribute Details
#key ⇒ Object (readonly)
:nodoc:
687 688 689 |
# File 'lib/dropbox_sdk_v2.rb', line 687 def key @key end |
#secret ⇒ Object (readonly)
:nodoc:
687 688 689 |
# File 'lib/dropbox_sdk_v2.rb', line 687 def secret @secret end |