Module: API::Helpers::SettingsHelpers
- Extended by:
- ActiveSupport::Concern, Grape::API::Helpers
- Defined in:
- lib/api/helpers/settings_helpers.rb
Class Method Summary collapse
Class Method Details
.optional_attributes ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/api/helpers/settings_helpers.rb', line 12 def self.optional_attributes [ *::ApplicationSettingsHelper.visible_attributes, *::ApplicationSettingsHelper., *::ApplicationSettingsHelper.deprecated_attributes, :performance_bar_allowed_group_id, # TODO: Once we rename these columns, we can remove them here and add the old # names to `ApplicationSettingsHelper.deprecated_attributes` instead. # https://gitlab.com/gitlab-org/gitlab/-/issues/340031 :throttle_unauthenticated_web_enabled, :throttle_unauthenticated_web_period_in_seconds, :throttle_unauthenticated_web_requests_per_period ].freeze end |