Class: Types::UserPreferencesType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::UserPreferencesType
show all
- Defined in:
- app/graphql/types/user_preferences_type.rb
Instance Method Summary
collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
#present, #unpresented
Instance Method Details
#issues_sort ⇒ Object
47
48
49
|
# File 'app/graphql/types/user_preferences_type.rb', line 47
def issues_sort
user_preference.issues_sort&.to_sym
end
|
#organization_groups_projects_sort ⇒ Object
51
52
53
|
# File 'app/graphql/types/user_preferences_type.rb', line 51
def organization_groups_projects_sort
user_preference.organization_groups_projects_sort&.to_sym
end
|