Class: Types::CustomerRelations::ContactStateCountsType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/customer_relations/contact_state_counts_type.rb

Class Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Class Method Details

.available_contact_statesObject



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