Class: API::MergeRequests

Inherits:
Grape::API::Instance
  • Object
show all
Includes:
PaginationParams
Defined in:
lib/api/merge_requests.rb

Constant Summary collapse

CONTEXT_COMMITS_POST_LIMIT =
20

Class Method Summary collapse

Class Method Details

.update_params_at_least_one_ofObject


22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/api/merge_requests.rb', line 22

def self.update_params_at_least_one_of
  %i[
    assignee_id
    assignee_ids
    description
    labels
    add_labels
    remove_labels
    milestone_id
    remove_source_branch
    state_event
    target_branch
    title
    discussion_locked
    squash
  ]
end