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
#extensions_marketplace_opt_in_status ⇒ Object
#issues_sort ⇒ Object
65
66
67
|
# File 'app/graphql/types/user_preferences_type.rb', line 65
def issues_sort
user_preference.issues_sort&.to_sym
end
|
#organization_groups_projects_sort ⇒ Object
73
74
75
|
# File 'app/graphql/types/user_preferences_type.rb', line 73
def organization_groups_projects_sort
user_preference.organization_groups_projects_sort&.to_sym
end
|
#projects_sort ⇒ Object
69
70
71
|
# File 'app/graphql/types/user_preferences_type.rb', line 69
def projects_sort
user_preference.projects_sort&.to_sym
end
|