Welcome to mirror list, hosted at ThFree Co, Russian Federation.

onboarding_progress_service.rb « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe00c96ed4c101a57f3401d99ed84c12e6d317bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class OnboardingProgressService
  def initialize(namespace)
    @namespace = namespace&.root_ancestor
  end

  def execute(action:)
    return unless @namespace

    NamespaceOnboardingAction.create_action(@namespace, action)
  end
end