Class: Types::CustomerRelations::OrganizationStateCountsType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::CustomerRelations::OrganizationStateCountsType
- Defined in:
- app/graphql/types/customer_relations/organization_state_counts_type.rb
Overview
‘object` is a hash. Authorization is performed by OrganizationStateCountsResolver
Constant Summary collapse
- AVAILABLE_STATES =
::CustomerRelations::Organization.states.keys.push('all').freeze
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#all ⇒ Object
19 20 21 |
# File 'app/graphql/types/customer_relations/organization_state_counts_type.rb', line 19 def all object.values.sum end |