Class: WikiPages::BaseService

Inherits:
BaseContainerService show all
Defined in:
app/services/wiki_pages/base_service.rb

Overview

There are 3 notions of ‘action’ that inheriting classes must implement:

  • external_action: the action we report to external clients with webhooks

  • usage_counter_action: the action that we count in out internal counters

  • event_action: what we record as the value of ‘Event#action`

Direct Known Subclasses

CreateService, DestroyService, UpdateService

Instance Attribute Summary

Attributes inherited from BaseContainerService

#container, #current_user, #group, #params, #project

Method Summary

Methods inherited from BaseContainerService

#group_container?, #initialize, #namespace_container?, #project_container?, #project_group

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from BaseContainerService