Parent

Methods

Class/Module Index [+]

Quicksearch

Backup::Storage::Dropbox

Attributes

access_type[RW]

Dropbox Access Type Valid values are:

:app_folder (default)
:dropbox (full access)
api_key[RW]

Dropbox API credentials

api_secret[RW]

Dropbox API credentials

path[RW]

Path to where the backups will be stored

Public Class Methods

new(model, storage_id = nil, &block) click to toggle source

Creates a new instance of the storage object

# File lib/backup/storage/dropbox.rb, line 32
def initialize(model, storage_id = nil, &block)
  super(model, storage_id)

  @path ||= 'backups'
  @access_type ||= :app_folder

  instance_eval(&block) if block_given?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.