gitlab-org--gitlab-foss/app/serializers/cohorts_entity.rb
2017-04-14 15:20:55 +02:00

4 lines
105 B
Ruby

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