Class: DropboxConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/mcfs/stores/dropbox.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject (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_keyObject (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_secretObject (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_idObject (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