debian-mirror-gitlab/app/services/clusters/applications/schedule_installation_service.rb
2018-11-18 11:00:15 +05:30

13 lines
299 B
Ruby

# frozen_string_literal: true
module Clusters
module Applications
class ScheduleInstallationService < ::BaseService
def execute(application)
application.make_scheduled!
ClusterInstallAppWorker.perform_async(application.name, application.id)
end
end
end
end