module Gitlab::Client::Milestones
def edit_milestone(project, id, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about updated milestone.
Options Hash:
(**options)
-
:state_event
(String
) -- The state of a milestone ('close' or 'activate'). -
:due_date
(String
) -- The due date of a milestone. -
:description
(String
) -- The description of a milestone. -
:title
(String
) -- The title of a milestone.
Parameters:
-
options
(Hash
) -- A customizable set of options. -
id
(Integer
) -- The ID of a milestone. -
project
(Integer, String
) -- The ID or name of a project.
def edit_milestone(project, id, options = {}) put("/projects/#{url_encode project}/milestones/#{id}", body: options) end