module Gitlab::Client::Runners
def project_enable_runner(project_id, id)
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
id
(Integer, String
) -- The ID of a runner. -
id
(Integer, String
) -- The ID or name of a project.
Other tags:
- See: https://docs.gitlab.com/ce/api/runners.html#enable-a-runner-in-project -
def project_enable_runner(project_id, id) body = { runner_id: id } post("/projects/#{url_encode project_id}/runners", body: body) end