Class: Types::WorkItems::UserPreference

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

Instance Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#sortObject



30
31
32
# File 'app/graphql/types/work_items/user_preference.rb', line 30

def sort
  object.sort&.to_sym
end