debian-mirror-gitlab/app/services/onboarding_progress_service.rb
2021-02-22 17:27:13 +05:30

11 lines
236 B
Ruby

# frozen_string_literal: true
class OnboardingProgressService
def initialize(namespace)
@namespace = namespace.root_ancestor
end
def execute(action:)
NamespaceOnboardingAction.create_action(@namespace, action)
end
end