Method: Gitlab::Client::Groups#add_group_custom_attribute
- Defined in:
- lib/gitlab/client/groups.rb
#add_group_custom_attribute(key, value, group_id) ⇒ Gitlab::ObjectifiedHash
Creates a new custom_attribute
306 307 308 309 |
# File 'lib/gitlab/client/groups.rb', line 306 def add_group_custom_attribute(key, value, group_id) url = "/groups/#{group_id}/custom_attributes/#{key}" put(url, body: { value: value }) end |