diff options
Diffstat (limited to 'lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb')
-rw-r--r-- | lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb b/lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb new file mode 100644 index 00000000000..4371a7eff56 --- /dev/null +++ b/lib/gitlab/import_export/after_export_strategies/download_notification_strategy.rb @@ -0,0 +1,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 |