Class: Types::UserPreferencesType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/user_preferences_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes Only used to render the current user's own preferences

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#issues_sortObject


13
14
15
# File 'app/graphql/types/user_preferences_type.rb', line 13

def issues_sort
  object.issues_sort.to_sym
end