debian-mirror-gitlab/lib/api/entities/design_management/design.rb
2020-05-25 16:23:42 +05:30

16 lines
317 B
Ruby

# frozen_string_literal: true
module API
module Entities
module DesignManagement
class Design < Grape::Entity
expose :id
expose :project_id
expose :filename
expose :image_url do |design|
::Gitlab::UrlBuilder.build(design)
end
end
end
end
end