Sha256: bd66e13bf2885b4aceb6119035332a4f937884da78fe37c8c2e2a41ef0e0634c
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class Publisher < Lutaml::Model::Serializable attribute :content_type, :string attribute :id, :string attribute :publisher_name, PublisherName, collection: true attribute :publisher_loc, PublisherLoc, collection: true xml do root "publisher" map_attribute "content-type", to: :content_type map_attribute "id", to: :id map_element "publisher-name", to: :publisher_name map_element "publisher-loc", to: :publisher_loc end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/publisher.rb |