8 lines
203 B
Ruby
8 lines
203 B
Ruby
![]() |
# frozen_string_literal: true
|
||
|
|
||
|
class MergeRequestAssigneeEntity < ::API::Entities::UserBasic
|
||
|
expose :can_merge do |assignee, options|
|
||
|
options[:merge_request]&.can_be_merged_by?(assignee)
|
||
|
end
|
||
|
end
|