Class: Ecoportal::API::GraphQL::Base::PagesWorkflow::CommandEsChange

Inherits:
CommandInterface show all
Defined in:
lib/ecoportal/api/graphql/base/pages_workflow/command_es_change.rb

Constant Summary collapse

SCHEMA_VERSION =
'20260605'.freeze

Constants included from Common::GraphQL::Model::Diffable

Common::GraphQL::Model::Diffable::DIFF_CLASS

Instance Method Summary collapse

Methods inherited from CommandInterface

from_doc

Methods included from Concerns::SnakeCamelAccess

#method_missing, #respond_to_missing?

Methods included from Common::GraphQL::Model::AsInput

#as_input

Methods included from Common::GraphQL::Model::Diffable

#as_update, #dirty?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess

Instance Method Details

#changesObject



9
10
11
# File 'lib/ecoportal/api/graphql/base/pages_workflow/command_es_change.rb', line 9

def changes
  @changes ||= Array(doc['changes'] || [])
end