2013-02-11 17:27:26 +00:00
|
|
|
class GitlabShellWorker
|
2017-11-28 16:08:30 +00:00
|
|
|
include ApplicationWorker
|
2013-03-21 19:01:14 +00:00
|
|
|
include Gitlab::ShellAdapter
|
2013-01-28 15:22:45 +00:00
|
|
|
|
2013-01-28 19:02:10 +00:00
|
|
|
def perform(action, *arg)
|
2017-08-10 16:39:26 +00:00
|
|
|
gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
|
2013-01-28 15:22:45 +00:00
|
|
|
end
|
|
|
|
end
|