gitlab-org--gitlab-foss/app/serializers/note_attachment_entity.rb
2018-07-23 11:27:39 -07:00

7 lines
140 B
Ruby

# frozen_string_literal: true
class NoteAttachmentEntity < Grape::Entity
expose :url
expose :filename
expose :image?, as: :image
end