2020-02-08 03:08:47 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class Discussion < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :individual_note?, as: :individual_note
|
2020-03-17 18:09:44 +00:00
|
|
|
expose :notes, using: Entities::NoteWithGitlabEmployeeBadge
|
2020-02-08 03:08:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|