discussion_entity.rb 218 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 class DiscussionEntity < Grape::Entity include RequestAwareEntity expose :id, :reply_id expose :expanded?, as: :expanded expose :notes, using: NoteEntity expose :individual_note?, as: :individual_note end