Sha256: 1ee6ae5e26b123dc1eaa7659e7f09e9e35cfd94b01520581b9d263033825c103

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

class Gitlab::Client
  # Defines methods related to namespaces
  # @see https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/namespaces.md
  module Namespaces
    # Gets a list of 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>]
    def namespaces(options={})
      get("/namespaces", :query => options)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-3.5.0 lib/gitlab/client/namespaces.rb