Sha256: 4ec1a6d84627461cb1eb0495317d16a9726fd76504b828401b608180fae40a70

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class LicenseParagraph < Lutaml::Model::Serializable
      attribute :p, Paragraph
      attribute :price, Price

      xml do
        root "license-p"

        map_element "price", to: :price
        map_element "p", to: :p
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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