PageRenderTime 21ms CodeModel.GetById 14ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/backup/artifacts.rb

https://gitlab.com/vicvega/gitlab-ce
Ruby | 13 lines | 11 code | 2 blank | 0 comment | 0 complexity | d0e1f469ac17776a6f6249d1746be537 MD5 | raw file
 1require 'backup/files'
 2
 3module Backup
 4  class Artifacts < Files
 5    def initialize
 6      super('artifacts', ArtifactUploader.artifacts_path)
 7    end
 8
 9    def create_files_dir
10      Dir.mkdir(app_files_dir, 0700)
11    end
12  end
13end