Class: Types::CustomerRelations::ContactStateCountsType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::CustomerRelations::ContactStateCountsType
- Defined in:
- app/graphql/types/customer_relations/contact_state_counts_type.rb
Class Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Class Method Details
.available_contact_states ⇒ Object
11 12 13 |
# File 'app/graphql/types/customer_relations/contact_state_counts_type.rb', line 11 def self.available_contact_states @available_contact_states ||= ::CustomerRelations::Contact.states.keys.push('all') end |