Class: Bosh::Director::Api::BackupManager
- Defined in:
- lib/bosh/director/api/backup_manager.rb
Instance Attribute Summary collapse
-
#destination_path ⇒ Object
readonly
Returns the value of attribute destination_path.
Instance Method Summary collapse
- #create_backup(username) ⇒ Object
-
#initialize ⇒ BackupManager
constructor
A new instance of BackupManager.
Constructor Details
#initialize ⇒ BackupManager
Returns a new instance of BackupManager.
6 7 8 |
# File 'lib/bosh/director/api/backup_manager.rb', line 6 def initialize @destination_path = "#{Config.base_dir}/backup.tgz" end |
Instance Attribute Details
#destination_path ⇒ Object (readonly)
Returns the value of attribute destination_path.
4 5 6 |
# File 'lib/bosh/director/api/backup_manager.rb', line 4 def destination_path @destination_path end |