Module: Rehabilitate
- Defined in:
- lib/rehabilitate.rb,
lib/rehabilitate/plugin.rb,
lib/rehabilitate/version.rb
Defined Under Namespace
Classes: Plugin
Constant Summary collapse
- VERSION =
"0.4.12"
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
5 6 7 8 |
# File 'lib/rehabilitate.rb', line 5 def self.backup() driver = Plugin::create( .driver ) driver.backup() end |
.compress(options) ⇒ Object
15 16 17 18 |
# File 'lib/rehabilitate.rb', line 15 def self.compress() driver = Plugin::create( .compressor ) driver.compress() end |
.download(options) ⇒ Object
30 31 32 33 |
# File 'lib/rehabilitate.rb', line 30 def self.download() driver = Plugin::create( .storage ) driver.download() end |
.list(options) ⇒ Object
35 36 37 38 |
# File 'lib/rehabilitate.rb', line 35 def self.list() driver = Plugin::create( .storage ) driver.list() end |
.restore(options) ⇒ Object
10 11 12 13 |
# File 'lib/rehabilitate.rb', line 10 def self.restore() driver = Plugin::create( .driver ) driver.restore() end |
.uncompress(options) ⇒ Object
20 21 22 23 |
# File 'lib/rehabilitate.rb', line 20 def self.uncompress() driver = Plugin::create( .compressor ) driver.uncompress() end |
.upload(options) ⇒ Object
25 26 27 28 |
# File 'lib/rehabilitate.rb', line 25 def self.upload() driver = Plugin::create( .storage ) driver.upload() end |