Class: Crashbreak::DatabaseDumper
- Inherits:
-
BasicSerializer
- Object
- BasicSerializer
- Crashbreak::DatabaseDumper
- Includes:
- AWS
- Defined in:
- lib/crashbreak/dumpers/database_dumper.rb
Instance Method Summary collapse
Methods included from AWS
#aws_key_id, #aws_region, #aws_resource_bucket, #aws_secret_key, #bucket_name, #client, #prepare_aws
Instance Method Details
#dump ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/crashbreak/dumpers/database_dumper.rb', line 7 def dump prepare_aws make_directories dump_database upload_dump remove_locally_dump { file_name: aws_file_name } end |