Class: Ecoportal::API::GraphQL::Base::PagesWorkflow::TriggerInterface
- Inherits:
-
Logic::BaseModel
- Object
- Common::Content::DoubleModel
- Common::GraphQL::Model
- Logic::BaseModel
- Ecoportal::API::GraphQL::Base::PagesWorkflow::TriggerInterface
- Defined in:
- lib/ecoportal/api/graphql/base/pages_workflow/trigger_interface.rb
Direct Known Subclasses
Ecoportal::API::GraphQL::Base::PagesWorkflow::Triggers::ConditionalLogic
Constant Summary collapse
- SCHEMA_VERSION =
'20260605'.freeze
Constants included from Common::GraphQL::Model::Diffable
Common::GraphQL::Model::Diffable::DIFF_CLASS
Class Method Summary collapse
Methods included from Concerns::SnakeCamelAccess
#method_missing, #respond_to_missing?
Methods included from Common::GraphQL::Model::AsInput
Methods included from Common::GraphQL::Model::Diffable
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ecoportal::API::GraphQL::Concerns::SnakeCamelAccess
Class Method Details
.from_doc(raw_doc) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/ecoportal/api/graphql/base/pages_workflow/trigger_interface.rb', line 13 def self.from_doc(raw_doc) case raw_doc&.fetch('__typename', nil) when 'PagesWorkflowTriggersConditionalLogic' Triggers::ConditionalLogic.new(raw_doc) else new(raw_doc) end end |