debian-mirror-gitlab/lib/api/entities/discussion.rb

12 lines
228 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class Discussion < Grape::Entity
expose :id
expose :individual_note?, as: :individual_note
2020-04-22 19:07:51 +05:30
expose :notes, using: Entities::Note
2020-03-13 15:44:24 +05:30
end
end
end