1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# 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