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
70
71
72
|
# File 'app/graphql/types/user_preferences_type.rb', line 70
def issues_sort
user_preference.issues_sort&.to_sym
end
|
#organization_groups_projects_sort ⇒ Object
78
79
80
|
# File 'app/graphql/types/user_preferences_type.rb', line 78
def organization_groups_projects_sort
user_preference.organization_groups_projects_sort&.to_sym
end
|
#projects_sort ⇒ Object
74
75
76
|
# File 'app/graphql/types/user_preferences_type.rb', line 74
def projects_sort
user_preference.projects_sort&.to_sym
end
|