Class: Genericode::Annotation

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/genericode/annotation.rb

Class Method Summary collapse

Class Method Details

.of_json(hash) ⇒ Object



18
19
20
21
22
# File 'lib/genericode/annotation.rb', line 18

def self.of_json(hash, **)
  hash = { "AppInfo" => hash } if hash.any?

  super
end