debian-mirror-gitlab/app/workers/gitlab_shell_worker.rb
2018-03-17 18:26:18 +05:30

8 lines
206 B
Ruby

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