summaryrefslogtreecommitdiff
path: root/lib/api/entities/discussion.rb
blob: dd1dd40da232928ea26ea48309370d1dc9d08b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class Discussion < Grape::Entity
      expose :id
      expose :individual_note?, as: :individual_note
      expose :notes, using: Entities::Note
    end
  end
end