Class: OAuthToken
- Inherits:
-
Object
- Object
- OAuthToken
- Defined in:
- lib/dropbox_sdk.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.
686 687 688 689 |
# File 'lib/dropbox_sdk.rb', line 686 def initialize(key, secret) @key = key @secret = secret end |
Instance Attribute Details
#key ⇒ Object (readonly)
:nodoc:
685 686 687 |
# File 'lib/dropbox_sdk.rb', line 685 def key @key end |
#secret ⇒ Object (readonly)
:nodoc:
685 686 687 |
# File 'lib/dropbox_sdk.rb', line 685 def secret @secret end |