Method: Gitlab::Client::Notes#snippet_note

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

#snippet_note(project, snippet, id) ⇒ Gitlab::ObjectifiedHash

Gets a single snippet note.

Examples:

Gitlab.snippet_note(5, 11, 3)

Parameters:

  • project (Integer)

    The ID of a project.

  • snippet (Integer)

    The ID of a snippet.

  • id (Integer)

    The ID of a note.

Returns:


111
112
113
# File 'lib/gitlab/client/notes.rb', line 111

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