Class: KamalBackup::ConfigData
- Inherits:
-
Struct
- Object
- Struct
- KamalBackup::ConfigData
- Defined in:
- lib/kamal_backup/config_file.rb
Instance Attribute Summary collapse
-
#database_definitions ⇒ Object
Returns the value of attribute database_definitions.
-
#env ⇒ Object
Returns the value of attribute env.
-
#path_definitions ⇒ Object
Returns the value of attribute path_definitions.
-
#restore_from_definitions ⇒ Object
Returns the value of attribute restore_from_definitions.
Class Method Summary collapse
Instance Attribute Details
#database_definitions ⇒ Object
Returns the value of attribute database_definitions
8 9 10 |
# File 'lib/kamal_backup/config_file.rb', line 8 def database_definitions @database_definitions end |
#env ⇒ Object
Returns the value of attribute env
8 9 10 |
# File 'lib/kamal_backup/config_file.rb', line 8 def env @env end |
#path_definitions ⇒ Object
Returns the value of attribute path_definitions
8 9 10 |
# File 'lib/kamal_backup/config_file.rb', line 8 def path_definitions @path_definitions end |
#restore_from_definitions ⇒ Object
Returns the value of attribute restore_from_definitions
8 9 10 |
# File 'lib/kamal_backup/config_file.rb', line 8 def restore_from_definitions @restore_from_definitions end |
Class Method Details
.empty ⇒ Object
10 11 12 |
# File 'lib/kamal_backup/config_file.rb', line 10 def self.empty new(env: {}, database_definitions: nil, path_definitions: nil, restore_from_definitions: nil) end |