Method: Gitlab::Client::Groups#group_custom_attribute

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

#group_custom_attribute(key, group_id) ⇒ Gitlab::ObjectifiedHash

Gets single group custom_attribute.

Examples:

Gitlab.group_custom_attribute('key', 2)

Parameters:

  • key (String)

    The custom_attributes key

  • group_id (Integer)

    The ID of a group.

Returns:

[View source]

293
294
295
# File 'lib/gitlab/client/groups.rb', line 293

def group_custom_attribute(key, group_id)
  get("/groups/#{group_id}/custom_attributes/#{key}")
end