gitlab-org--gitlab-foss/app/serializers/cohorts_entity.rb

7 lines
136 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class CohortsEntity < Grape::Entity
expose :months_included
expose :cohorts, using: CohortEntity
end