summaryrefslogtreecommitdiff
path: root/app/services/onboarding_progress_service.rb
blob: ebe7caabdefce624c4a567a6f53fd82e83b62b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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

  def execute(action:)
    NamespaceOnboardingAction.create_action(@namespace, action)
  end
end