# frozen_string_literal: true

#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
#   licensed under the Affero General Public License version 3 or later.  See
#   the COPYRIGHT file.

class ExportedPhotos < SecureUploader
  def store_dir
    "uploads/users"
  end

  def extension_allowlist
    %w[zip]
  end

  def filename
    "diaspora_#{model.username}_photos_#{secure_token}#{extension}"
  end
end
