module Gitlab::Client::Namespaces

Defines methods related to namespaces @see docs.gitlab.com/ce/api/namespaces.html

Public Instance Methods

namespaces(options={}) click to toggle source

Gets a list of namespaces. @see docs.gitlab.com/ce/api/namespaces.html#list-namespaces

@example

Gitlab.namespaces

@param [Hash] options A customizable set of options. @options options [Integer] :page The page number. @options options [Integer] :per_page The number of results per page. @options opttion [String] :search The string to search for. @return [Array<Gitlab::ObjectifiedHash>]

# File lib/gitlab/client/namespaces.rb, line 16
def namespaces(options={})
  get("/namespaces", query: options)
end