gitlab-org--gitlab-foss/app/serializers/note_attachment_entity.rb

8 lines
140 B
Ruby
Raw Normal View History

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