debian-mirror-gitlab/app/serializers/cohorts_entity.rb
2017-08-17 22:00:37 +05:30

4 lines
105 B
Ruby

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