Class: Backup::Storage::Dropbox

Inherits:
Base show all
Defined in:
lib/backup/storage/dropbox.rb

Instance Method Summary collapse

Methods included from CommandHelper

#log, #run

Constructor Details

#initialize(adapter) ⇒ Dropbox

Returns a new instance of Dropbox.



6
7
8
9
# File 'lib/backup/storage/dropbox.rb', line 6

def initialize(adapter)
  dropbox = Backup::Connection::Dropbox.new(adapter)
  dropbox.store
end