Class: Ecoportal::API::GraphQL::Mutation::Template::UpdateInformation
- Inherits:
-
Logic::Mutation
- Object
- Logic::BaseQuery
- Logic::Mutation
- Ecoportal::API::GraphQL::Mutation::Template::UpdateInformation
- Defined in:
- lib/ecoportal/api/graphql/mutation/template/update_information.rb
Constant Summary collapse
- SCHEMA_VERSION =
'20260605'.freeze
Instance Method Summary collapse
Methods inherited from Logic::Mutation
Instance Method Details
#query(id:, description: nil, ai_description: nil, template_type: nil, **kargs, &block) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/ecoportal/api/graphql/mutation/template/update_information.rb', line 13 def query(id:, description: nil, ai_description: nil, template_type: nil, **kargs, &block) input = { id: id } input[:description] = description if description input[:aiDescription] = ai_description if ai_description input[:templateType] = template_type if template_type super(input: input, **kargs, &block) end |