Method: Gitlab::Client::Boards#boards

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

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

Gets a list of project’s boards.

Examples:

Gitlab.boards(5)
Gitlab.boards({ per_page: 40 })

Parameters:

  • project (Integer, String)

    The ID or name 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]

18
19
20
# File 'lib/gitlab/client/boards.rb', line 18

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