Sha256: a7c73523f2ae781b6fa6aa5c47c75b296e6ae52bbeed3c64a4be596c2d654b37
Contents?: true
Size: 928 Bytes
Versions: 4
Compression:
Stored size: 928 Bytes
Contents
# frozen_string_literal: true module Ieee module Idams # Multimedia component class MultimediaComponent < Lutaml::Model::Serializable # <component> # <componentfilename/> # <componentfilesize/> # <componenttype/> # <componentplatform/> # <componentdoi/> # </component> attribute :filename, :string attribute :filesize, :string attribute :type, :string attribute :platform, :string attribute :doi, :string xml do root "component" map_element "componentfilename", to: :filename, render_nil: true map_element "componentfilesize", to: :filesize, render_nil: true map_element "componenttype", to: :type, render_nil: true map_element "componentplatform", to: :platform, render_nil: true map_element "componentdoi", to: :doi, render_nil: true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems