Welcome to mirror list, hosted at ThFree Co, Russian Federation.

settings_helpers.rb « helpers « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6441bb579ff1a0b125bd038d40442b8ee1d48eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module API
  module Helpers
    module SettingsHelpers
      extend ActiveSupport::Concern
      extend Grape::API::Helpers

      params :optional_params_ee do
      end

      def self.optional_attributes
        [*::ApplicationSettingsHelper.visible_attributes,
         *::ApplicationSettingsHelper.external_authorization_service_attributes,
         :performance_bar_allowed_group_id].freeze
      end
    end
  end
end