Sha256: 03b00e5d982b41bc8b2da4b11561b9afc1eb3e1ec0149fa897a033cb813c9358
Contents?: true
Size: 708 Bytes
Versions: 1
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class Patent < Lutaml::Model::Serializable attribute :content, :string attribute :content_type, :string attribute :country, :string attribute :id, :string attribute :specific_use, :string attribute :lang, :string xml do root "patent" map_content to: :content map_attribute "content-type", to: :content_type map_attribute "country", to: :country map_attribute "id", to: :id 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/patent.rb |