Method: Gitlab::Client::Notes#notes

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

#notes(project, options = {}) ⇒ Array<Gitlab::ObjectifiedHash>

Gets a list of projects notes.

Examples:

Gitlab.notes(5)

Parameters:

  • project (Integer)

    The ID of a project.

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :page (Integer)

    The page number.

  • :per_page (Integer)

    The number of results per page.

Returns:

[View source]

16
17
18
# File 'lib/gitlab/client/notes.rb', line 16

def notes(project, options = {})
  get("/projects/#{url_encode project}/notes", query: options)
end