Method: Codebot::Formatters::Gitlab::NoteHook#summary

Defined in:
lib/codebot/formatters/gitlab_note_hook.rb

#summaryObject



12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/codebot/formatters/gitlab_note_hook.rb', line 12

def summary
  case note_type
  when 'Issue'
    issue_summary
  when 'Snippet'
    snippet_summary
  when 'MergeRequest'
    merge_request_summary
  when 'Commit'
    commit_summary
  end
end