Module: Gitlab::Client::Namespaces

Included in:
Gitlab::Client
Defined in:
lib/gitlab/client/namespaces.rb

Overview

Defines methods related to namespaces

Instance Method Summary collapse

Instance Method Details

#namespaces(options = {}) ⇒ Array<Gitlab::ObjectifiedHash>

Gets a list of namespaces.

Examples:

Gitlab.namespaces

Parameters:

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

    A customizable set of options.

Returns:

See Also:


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

def namespaces(options = {})
  get('/namespaces', query: options)
end