Sha256: deeb2241a5ddddee5f1b0f6e6c4669d7b6ba4b9af27dd2f845443d9c9977c1af
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class ResourceWrap < Lutaml::Model::Serializable attribute :id, :string attribute :resource_name, ResourceName attribute :resource_id, ResourceId, collection: true xml do root "resource-wrap" map_attribute "id", to: :id map_element "resource-name", to: :resource_name map_element "resource-id", to: :resource_id end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/resource_wrap.rb |