debian-mirror-gitlab/app/serializers/cohorts_entity.rb
2018-11-18 11:00:15 +05:30

6 lines
136 B
Ruby

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