summaryrefslogtreecommitdiff
path: root/lib/backup/uploads.rb
blob: 9261f77f3c9d45ee137dd450ba5a6c401267c592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'backup/files'

module Backup
  class Uploads < Files

    def initialize
      super('uploads', Rails.root.join('public/uploads'))
    end

    def create_files_dir
      Dir.mkdir(app_files_dir)
    end
  end
end