Method: Gitlab::Client::Notes#edit_note

Defined in:
lib/gitlab/client/notes.rb

#edit_note(project, id, body) ⇒ Gitlab::ObjectifiedHash

Modifies a wall note.

Examples:

Gitlab.edit_note(5, 15, 'This is an edited note')

Parameters:

  • project (Integer)

    The ID of a project.

  • id (Integer)

    The ID of a note.

Returns:



223
224
225
# File 'lib/gitlab/client/notes.rb', line 223

def edit_note(project, id, body)
  put("/projects/#{url_encode project}/notes/#{id}", body: body)
end