Class: API::Entities::GroupDetail

Inherits:
Group show all
Defined in:
lib/api/entities/group_detail.rb

Instance Method Summary collapse

Instance Method Details

#projects_limitObject


31
32
33
34
35
36
37
# File 'lib/api/entities/group_detail.rb', line 31

def projects_limit
  if ::Feature.enabled?(:limit_projects_in_groups_api, default_enabled: true)
    GroupProjectsFinder::DEFAULT_PROJECTS_LIMIT
  else
    nil
  end
end