Class: Lutaml::KeyValue::TransformationBuilder
- Inherits:
-
Model::TransformationBuilder
- Object
- Model::TransformationBuilder
- Lutaml::KeyValue::TransformationBuilder
- Defined in:
- lib/lutaml/key_value/transformation_builder.rb
Overview
Builder for key-value format transformations (JSON, YAML, TOML, Hash).
Creates Transformation instances for serializing models to key-value formats outputs.
Constant Summary collapse
- FORMATS =
Formats handled by this builder
%i[json yaml toml hash].freeze
Class Method Summary collapse
-
.build(model_class, mapping, format, register) ⇒ KeyValue::Transformation
Build a KeyValue transformation instance.
Methods inherited from Model::TransformationBuilder
Class Method Details
.build(model_class, mapping, format, register) ⇒ KeyValue::Transformation
Build a KeyValue transformation instance.
24 25 26 27 |
# File 'lib/lutaml/key_value/transformation_builder.rb', line 24 def self.build(model_class, mapping, format, register) Lutaml::KeyValue::Transformation.new(model_class, mapping, format, register) end |