Class: FeatureFlags::BaseService

Inherits:
BaseService show all
Includes:
Gitlab::Utils::StrongMemoize
Defined in:
app/services/feature_flags/base_service.rb

Direct Known Subclasses

CreateService, DestroyService, UpdateService

Constant Summary collapse

AUDITABLE_ATTRIBUTES =
%w[name description active].freeze

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods inherited from BaseService

#initialize

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 BaseService

Instance Method Details

#success(**args) ⇒ Object



9
10
11
12
13
14
# File 'app/services/feature_flags/base_service.rb', line 9

def success(**args)
  sync_to_jira(args[:feature_flag])

  audit_event(args[:feature_flag], args[:audit_context])
  super
end