Module: API::Helpers::ResourceLabelEventsHelpers

Defined in:
lib/api/helpers/resource_label_events_helpers.rb

Class Method Summary collapse

Class Method Details

.feature_category_per_eventable_typeObject


6
7
8
9
10
11
12
13
# File 'lib/api/helpers/resource_label_events_helpers.rb', line 6

def self.feature_category_per_eventable_type
  # This is a method instead of a constant, allowing EE to more easily
  # extend it.
  {
    Issue => :team_planning,
    MergeRequest => :code_review
  }
end