debian-mirror-gitlab/lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb
2018-12-23 12:14:25 +05:30

19 lines
430 B
Ruby

# frozen_string_literal: true
module Gitlab
module ImportExport
module AfterExportStrategies
class DownloadNotificationStrategy < BaseAfterExportStrategy
private
def strategy_execute
notification_service.project_exported(project, current_user)
end
def notification_service
@notification_service ||= NotificationService.new
end
end
end
end
end