debian-mirror-gitlab/app/workers/gitlab_shell_worker.rb
2018-11-08 19:23:39 +05:30

10 lines
237 B
Ruby

# frozen_string_literal: true
class GitlabShellWorker
include ApplicationWorker
include Gitlab::ShellAdapter
def perform(action, *arg)
gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
end
end