module Gitlab::Client::Projects

def add_project_custom_attribute(key, value, project_id)

Returns:
  • (Gitlab::ObjectifiedHash) -

Parameters:
  • project_id (Integer) -- The ID of a project.
  • value (String) -- The custom_attributes value
  • key (String) -- The custom_attributes key
def add_project_custom_attribute(key, value, project_id)
  url = "/projects/#{project_id}/custom_attributes/#{key}"
  put(url, body: { value: value })
end