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.



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

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