summaryrefslogtreecommitdiff
path: root/app/serializers/evidences/release_entity.rb
blob: 59e379a3c080c3d96c5d81c890f5f9415cea5196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Evidences
  class ReleaseEntity < Grape::Entity
    expose :id
    expose :tag, as: :tag_name
    expose :name
    expose :description
    expose :created_at
    expose :project, using: Evidences::ProjectEntity
    expose :milestones, using: Evidences::MilestoneEntity
  end
end