Method: Codebot::Formatters::Gitlab::WikiPageHook#action
- Defined in:
- lib/codebot/formatters/gitlab_wiki_page_hook.rb
#action ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/codebot/formatters/gitlab_wiki_page_hook.rb', line 37 def action case wiki_action when 'create' then 'created' when 'delete' then 'deleted' when 'update', nil then 'updated' else wiki_action end end |