debian-mirror-gitlab/app/serializers/cohorts_entity.rb

5 lines
105 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
class CohortsEntity < Grape::Entity
expose :months_included
expose :cohorts, using: CohortEntity
end