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

user_preferences.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e04ddd52f29ece1864080e08436e497c95dfadc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    class UserPreferences < Grape::Entity
      expose :id, :user_id, :view_diffs_file_by_file,
        :show_whitespace_in_diffs, :pass_user_identities_to_ci_jwt
    end
  end
end

API::Entities::UserPreferences.prepend_mod_with('API::Entities::UserPreferences', with_descendants: true)