gitlab-org--gitlab-foss/app/workers/gitlab_shell_worker.rb

9 lines
206 B
Ruby
Raw Normal View History

2013-02-11 17:27:26 +00:00
class GitlabShellWorker
include ApplicationWorker
include Gitlab::ShellAdapter
2013-01-28 19:02:10 +00:00
def perform(action, *arg)
gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
end
end