debian-mirror-gitlab/app/services/onboarding_progress_service.rb

12 lines
236 B
Ruby
Raw Normal View History

2021-02-22 17:27:13 +05:30
# frozen_string_literal: true
class OnboardingProgressService
def initialize(namespace)
@namespace = namespace.root_ancestor
end
def execute(action:)
NamespaceOnboardingAction.create_action(@namespace, action)
end
end