Class: DropboxConfig
- Inherits:
-
Object
- Object
- DropboxConfig
- Defined in:
- lib/mcfs/stores/dropbox.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#app_key ⇒ Object
readonly
Returns the value of attribute app_key.
-
#app_secret ⇒ Object
readonly
Returns the value of attribute app_secret.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(key, secret, token, user) ⇒ DropboxConfig
constructor
A new instance of DropboxConfig.
Constructor Details
#initialize(key, secret, token, user) ⇒ DropboxConfig
Returns a new instance of DropboxConfig.
6 7 8 9 10 11 |
# File 'lib/mcfs/stores/dropbox.rb', line 6 def initialize(key, secret, token, user) @app_key = key @app_secret = secret @access_token = token @user_id = user end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
4 5 6 |
# File 'lib/mcfs/stores/dropbox.rb', line 4 def access_token @access_token end |
#app_key ⇒ Object (readonly)
Returns the value of attribute app_key.
4 5 6 |
# File 'lib/mcfs/stores/dropbox.rb', line 4 def app_key @app_key end |
#app_secret ⇒ Object (readonly)
Returns the value of attribute app_secret.
4 5 6 |
# File 'lib/mcfs/stores/dropbox.rb', line 4 def app_secret @app_secret end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
4 5 6 |
# File 'lib/mcfs/stores/dropbox.rb', line 4 def user_id @user_id end |