Class: Mutations::CustomerRelations::Contacts::Base
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::RelayClassicMutation
- BaseMutation
- Mutations::CustomerRelations::Contacts::Base
- Defined in:
- app/graphql/mutations/customer_relations/contacts/base.rb
Constant Summary
Constants included from Gitlab::Graphql::Authorize::AuthorizeResource
Gitlab::Graphql::Authorize::AuthorizeResource::ConfigurationError, Gitlab::Graphql::Authorize::AuthorizeResource::RESOURCE_ACCESS_ERROR
Constants inherited from BaseMutation
Instance Method Summary collapse
Methods included from Gitlab::Graphql::Authorize::AuthorizeResource
#authorize!, #authorized_find!, #authorized_resource?, #find_object, #raise_resource_not_available_error!
Methods included from ResolvesIds
Methods inherited from BaseMutation
#api_user?, authorization, authorized?, authorizes_object?, #current_user, #errors_on_object, #load_application_object, #read_only?, #ready?, #unauthorized_object
Instance Method Details
#set_organization!(args) ⇒ Object
17 18 19 20 21 |
# File 'app/graphql/mutations/customer_relations/contacts/base.rb', line 17 def set_organization!(args) return unless args[:organization_id] args[:organization_id] = args[:organization_id].model_id end |