Class: Backup::Storage::Ninefold
- Includes:
- Cycler
- Defined in:
- lib/backup/storage/ninefold.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#storage_secret ⇒ Object
Ninefold Credentials.
-
#storage_token ⇒ Object
Ninefold Credentials.
Attributes inherited from Base
#keep, #model, #package, #path, #storage_id
Instance Method Summary collapse
-
#initialize(model, storage_id = nil) ⇒ Ninefold
constructor
A new instance of Ninefold.
Methods inherited from Base
Methods included from Config::Helpers
Constructor Details
#initialize(model, storage_id = nil) ⇒ Ninefold
Returns a new instance of Ninefold.
14 15 16 17 18 19 |
# File 'lib/backup/storage/ninefold.rb', line 14 def initialize(model, storage_id = nil) super @path ||= 'backups' path.sub!(/^\//, '') end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backup::Config::Helpers
Instance Attribute Details
#storage_secret ⇒ Object
Ninefold Credentials
12 13 14 |
# File 'lib/backup/storage/ninefold.rb', line 12 def storage_secret @storage_secret end |
#storage_token ⇒ Object
Ninefold Credentials
12 13 14 |
# File 'lib/backup/storage/ninefold.rb', line 12 def storage_token @storage_token end |