Class: Backup::Configuration::Storage::Dropbox
- Defined in:
- lib/backup/configuration/storage/dropbox.rb
Class Attribute Summary collapse
-
.access_type ⇒ Object
Dropbox Access Type Valid values are: :app_folder (default) :dropbox (full access).
-
.api_key ⇒ Object
Dropbox API credentials.
-
.api_secret ⇒ Object
Dropbox API credentials.
-
.path ⇒ Object
Path to where the backups will be stored.
-
.timeout ⇒ Object
Deprecated as of v3.0.21 - for move to official ‘dropbox-sdk’ gem (v1.1).
Class Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.access_type ⇒ Object
Dropbox Access Type Valid values are:
:app_folder (default)
:dropbox (full access)
18 19 20 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 18 def access_type @access_type end |
.api_key ⇒ Object
Dropbox API credentials
11 12 13 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 11 def api_key @api_key end |
.api_secret ⇒ Object
Dropbox API credentials
11 12 13 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 11 def api_secret @api_secret end |
.path ⇒ Object
Path to where the backups will be stored
22 23 24 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 22 def path @path end |
.timeout ⇒ Object
Deprecated as of v3.0.21 - for move to official ‘dropbox-sdk’ gem (v1.1)
28 29 30 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 28 def timeout @timeout end |
Class Method Details
.email ⇒ Object
34 35 36 37 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 34 def email Logger.warn "[DEPRECATED] Backup::Configuration::Storage::Dropbox.email\n" + " is deprecated and will be removed at some point." end |
.email=(value) ⇒ Object
39 40 41 42 |
# File 'lib/backup/configuration/storage/dropbox.rb', line 39 def email=(value) Logger.warn "[DEPRECATED] Backup::Configuration::Storage::Dropbox.email=\n" + " is deprecated and will be removed at some point." end |