Sha256: e42d40b8c84c26a16a2c6a34fa47ff126677df81f15cf050723a58a2056afd81

Contents?: true

Size: 728 Bytes

Versions: 1

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class MilestoneEnd < Lutaml::Model::Serializable
      attribute :content_type, :string
      attribute :id, :string
      attribute :rationale, :string
      attribute :rid, :string
      attribute :specific_use, :string
      attribute :lang, :string

      xml do
        root "milestone-end"

        map_attribute "content-type", to: :content_type
        map_attribute "id", to: :id
        map_attribute "rationale", to: :rationale
        map_attribute "rid", to: :rid
        map_attribute "specific-use", to: :specific_use
        map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/milestone_end.rb