Sha256: d6be106bafdf0c43e2eca61e01ca74b4f2bc055001332bff690ebe48414a2f3c

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Rp < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :id, :string

      xml do
        root "rp"

        map_content to: :content
        map_attribute "id", to: :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/rp.rb