Method: Configuration#initialize
- Defined in:
- lib/configuration.rb
#initialize(repository: 'file system', backup_folder: 'db/backups', file_suffix: '', aws_access_key_id: '', aws_secret_access_key: '', bucket: '', region: '', remote_path: '_backups/database/') ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/configuration.rb', line 5 def initialize( repository: 'file system', backup_folder: 'db/backups', file_suffix: '', aws_access_key_id: '', aws_secret_access_key: '', bucket: '', region: '', remote_path: '_backups/database/' ) @repository = repository @backup_folder = backup_folder @file_suffix = file_suffix @aws_access_key_id = aws_access_key_id @aws_secret_access_key = aws_secret_access_key @bucket = bucket @region = region @remote_path = remote_path end |