Class: KamalBackup::Config::ConfigData

Inherits:
Struct
  • Object
show all
Defined in:
lib/kamal_backup/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#database_definitionsObject

Returns the value of attribute database_definitions

Returns:

  • (Object)

    the current value of database_definitions



49
50
51
# File 'lib/kamal_backup/config.rb', line 49

def database_definitions
  @database_definitions
end

#envObject

Returns the value of attribute env

Returns:

  • (Object)

    the current value of env



49
50
51
# File 'lib/kamal_backup/config.rb', line 49

def env
  @env
end

#path_definitionsObject

Returns the value of attribute path_definitions

Returns:

  • (Object)

    the current value of path_definitions



49
50
51
# File 'lib/kamal_backup/config.rb', line 49

def path_definitions
  @path_definitions
end

#restore_from_definitionsObject

Returns the value of attribute restore_from_definitions

Returns:

  • (Object)

    the current value of restore_from_definitions



49
50
51
# File 'lib/kamal_backup/config.rb', line 49

def restore_from_definitions
  @restore_from_definitions
end

Class Method Details

.emptyObject



50
51
52
# File 'lib/kamal_backup/config.rb', line 50

def self.empty
  new(env: {}, database_definitions: nil, path_definitions: nil, restore_from_definitions: nil)
end