Module: API::Helpers::DiscussionsHelpers

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

Class Method Summary collapse

Class Method Details

.noteable_typesObject


6
7
8
9
10
# File 'lib/api/helpers/discussions_helpers.rb', line 6

def self.noteable_types
  # This is a method instead of a constant, allowing EE to more easily
  # extend it.
  [Issue, Snippet, MergeRequest, Commit]
end