Method: Gitlab::Client::Notes#create_note

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

#create_note(project, body) ⇒ Gitlab::ObjectifiedHash

Creates a new wall note.

Parameters:

  • project (Integer)

    The ID of a project.

  • body (String)

    The body of a note.

Returns:



89
90
91
# File 'lib/gitlab/client/notes.rb', line 89

def create_note(project, body)
  post("/projects/#{project}/notes", :body => {:body => body})
end