Class: Rehabilitate
- Inherits:
-
Object
- Object
- Rehabilitate
- Defined in:
- lib/rehabilitate.rb
Constant Summary collapse
- VERSION =
"0.3.10"
Class Method Summary collapse
- .backup(options) ⇒ Object
- .compress(options) ⇒ Object
- .download(options) ⇒ Object
- .list(options) ⇒ Object
- .restore(options) ⇒ Object
- .uncompress(options) ⇒ Object
- .upload(options) ⇒ Object
Class Method Details
.backup(options) ⇒ Object
7 8 9 10 |
# File 'lib/rehabilitate.rb', line 7 def self.backup() driver = Plugin::create( .driver ) driver.backup() end |
.compress(options) ⇒ Object
17 18 19 20 |
# File 'lib/rehabilitate.rb', line 17 def self.compress() driver = Plugin::create( .compressor ) driver.compress() end |
.download(options) ⇒ Object
32 33 34 35 |
# File 'lib/rehabilitate.rb', line 32 def self.download() driver = Plugin::create( .storage ) driver.download() end |
.list(options) ⇒ Object
37 38 39 40 |
# File 'lib/rehabilitate.rb', line 37 def self.list() driver = Plugin::create( .storage ) driver.list() end |
.restore(options) ⇒ Object
12 13 14 15 |
# File 'lib/rehabilitate.rb', line 12 def self.restore() driver = Plugin::create( .driver ) driver.restore() end |
.uncompress(options) ⇒ Object
22 23 24 25 |
# File 'lib/rehabilitate.rb', line 22 def self.uncompress() driver = Plugin::create( .compressor ) driver.uncompress() end |
.upload(options) ⇒ Object
27 28 29 30 |
# File 'lib/rehabilitate.rb', line 27 def self.upload() driver = Plugin::create( .storage ) driver.upload() end |