Method: Gitlab::Client::Notes#note

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

#note(project, id) ⇒ Gitlab::ObjectifiedHash

Gets a single wall note.

Examples:

Gitlab.note(5, 15)

Parameters:

  • project (Integer)

    The ID of a project.

  • id (Integer)

    The ID of a note.

Returns:

[View source]

85
86
87
# File 'lib/gitlab/client/notes.rb', line 85

def note(project, id)
  get("/projects/#{url_encode project}/notes/#{id}")
end