gitlab-org--gitlab-foss/lib/api/entities/merge_request_simple.rb

12 lines
252 B
Ruby

# frozen_string_literal: true
module API
module Entities
class MergeRequestSimple < IssuableEntity
expose :title
expose :web_url do |merge_request, options|
Gitlab::UrlBuilder.build(merge_request)
end
end
end
end