debian-mirror-gitlab/app/serializers/note_attachment_entity.rb
2018-11-18 11:00:15 +05:30

7 lines
140 B
Ruby

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