Class: ApplicationSettings::UpdateService
- Inherits:
-
BaseService
- Object
- BaseService
- BaseService
- ApplicationSettings::UpdateService
- Includes:
- ValidatesClassificationLabel
- Defined in:
- app/services/application_settings/update_service.rb
Constant Summary collapse
- MARKDOWN_CACHE_INVALIDATING_PARAMS =
%w[asset_proxy_enabled asset_proxy_url asset_proxy_secret_key asset_proxy_whitelist].freeze
Instance Attribute Summary collapse
-
#application_setting ⇒ Object
readonly
Returns the value of attribute application_setting.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Attributes inherited from BaseService
Instance Method Summary collapse
Methods included from ValidatesClassificationLabel
#classification_label_change?, #rejection_reason_for_label, #validate_classification_label
Methods inherited from BaseService
Methods inherited from BaseService
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
Constructor Details
This class inherits a constructor from ApplicationSettings::BaseService
Instance Attribute Details
#application_setting ⇒ Object (readonly)
Returns the value of attribute application_setting.
7 8 9 |
# File 'app/services/application_settings/update_service.rb', line 7 def application_setting @application_setting end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
7 8 9 |
# File 'app/services/application_settings/update_service.rb', line 7 def params @params end |
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/services/application_settings/update_service.rb', line 11 def execute result = update_settings auto_approve_blocked_users if result result end |