Sha256: e6d1d5bb7372ea4f236b5e8b6d0aa9337ee0922e4c4b6d4d3f80baaa257a5c2b
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true require_relative "copyright" module Ieee module Idams # Represents a copyright entry class Copyright < Lutaml::Model::Serializable # Copyright year # @return [Integer] year of copyright attribute :year, :integer # Copyright holder # @return [String] name of copyright holder attribute :holder, :string xml do root "copyright" map_element "year", to: :year map_element "holder", to: :holder end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ieee-idams-0.2.9 | lib/ieee/idams/copyright.rb |
ieee-idams-0.2.8 | lib/ieee/idams/copyright.rb |
ieee-idams-0.2.7 | lib/ieee/idams/copyright.rb |
ieee-idams-0.2.6 | lib/ieee/idams/copyright.rb |