summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb
blob: 4371a7eff5663fd28fa41c02e434214fae60cc63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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