summaryrefslogtreecommitdiff
path: root/lib/backup/artifacts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/artifacts.rb')
-rw-r--r--lib/backup/artifacts.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/backup/artifacts.rb b/lib/backup/artifacts.rb
new file mode 100644
index 00000000000..51fa3867e67
--- /dev/null
+++ b/lib/backup/artifacts.rb
@@ -0,0 +1,13 @@
+require 'backup/files'
+
+module Backup
+ class Artifacts < Files
+ def initialize
+ super('artifacts', ArtifactUploader.artifacts_path)
+ end
+
+ def create_files_dir
+ Dir.mkdir(app_files_dir, 0700)
+ end
+ end
+end