module Gitlab::Client::RepositorySubmodules
def edit_submodule(project, submodule, options = {})
-
(Gitlab::ObjectifiedHash)
-
Parameters:
-
options
(String
) -- :commit_message commit message text. -
options
(String
) -- :commit_sha commit SHA to update the submodule to. -
options
(String
) -- :branch the name of the branch to commit changes to. -
options
(Hash
) -- A customizable set of options. -
submodule
(String
) -- full path of submodule to update. -
project
(Integer, String
) -- The ID or name of a project.
def edit_submodule(project, submodule, options = {}) put("/projects/#{url_encode project}/repository/submodules/#{url_encode submodule}", body: options) end