Class: Lutaml::Model::ImportTransformer

Inherits:
Transformer show all
Defined in:
lib/lutaml/model/services/transformer.rb

Instance Attribute Summary

Attributes inherited from Transformer

#attribute, #format, #rule

Instance Method Summary collapse

Methods inherited from Transformer

#apply_class_transformer, call, #call, #get_transform, #initialize

Constructor Details

This class inherits a constructor from Lutaml::Model::Transformer

Instance Method Details

#transformation_methodsObject

Precedene of transformations:

  1. Rule transform

  2. Attribute transform



69
70
71
72
73
74
# File 'lib/lutaml/model/services/transformer.rb', line 69

def transformation_methods
  [
    get_transform(rule, :import),
    get_transform(attribute, :import),
  ].compact
end