module Gitlab::Client::ProjectBadges
def edit_project_badge(project, badge_id, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about the updated project badge.
Options Hash:
(**options)
-
:image_url(optional)
(String
) -- URL of the badge image -
:link_url(optional)
(String
) -- URL of the badge link
Parameters:
-
options
(Hash
) -- A customizable set of options. -
badge_id
(Integer
) -- The badge ID. -
project
(Integer, String
) -- The ID or name of a project.
def edit_project_badge(project, badge_id, options = {}) put("/projects/#{url_encode project}/badges/#{badge_id}", body: options) end