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

13 lines
252 B
Ruby
Raw Normal View History

# 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