Module: Gitlab::QuickActions::MergeRequestActions

Extended by:
ActiveSupport::Concern
Includes:
Dsl
Included in:
QuickActions::InterpretService
Defined in:
lib/gitlab/quick_actions/merge_request_actions.rb

Instance Method Summary collapse

Instance Method Details

#merge_orchestration_serviceObject


140
141
142
# File 'lib/gitlab/quick_actions/merge_request_actions.rb', line 140

def merge_orchestration_service
  @merge_orchestration_service ||= MergeRequests::MergeOrchestrationService.new(project, current_user)
end

#preferred_auto_merge_strategy(merge_request) ⇒ Object


144
145
146
# File 'lib/gitlab/quick_actions/merge_request_actions.rb', line 144

def preferred_auto_merge_strategy(merge_request)
  merge_orchestration_service.preferred_auto_merge_strategy(merge_request)
end