Sha256: 2ebb38a204f250b9e6ef7859b7e597d7dcfab9b822f510ec49343034e185c90f
Contents?: true
Size: 737 Bytes
Versions: 1
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true module Niso module Jats class Permissions < Lutaml::Model::Serializable attribute :id, :string attribute :copyright_statement, CopyrightStatement, collection: true attribute :copyright_year, CopyrightYear, collection: true attribute :copyright_holder, CopyrightHolder, collection: true attribute :license, License, collection: true xml do root "permissions" map_attribute "id", to: :id map_element "copyright-statement", to: :copyright_statement map_element "copyright-year", to: :copyright_year map_element "copyright-holder", to: :copyright_holder map_element "license", to: :license end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
niso-jats-0.1.1 | lib/niso/jats/permissions.rb |