Module: Gitlab::Client::RepositorySubmodules
- Included in:
- Gitlab::Client
- Defined in:
- lib/gitlab/client/repository_submodules.rb
Overview
Defines methods related to repository submodules.
Instance Method Summary collapse
-
#edit_submodule(project, submodule, options = {}) ⇒ Gitlab::ObjectifiedHash
Edits an existing repository submodule.
Instance Method Details
#edit_submodule(project, submodule, options = {}) ⇒ Gitlab::ObjectifiedHash
Edits an existing repository submodule.
23 24 25 |
# File 'lib/gitlab/client/repository_submodules.rb', line 23 def edit_submodule(project, submodule, = {}) put("/projects/#{url_encode project}/repository/submodules/#{url_encode submodule}", body: ) end |