Sha256: 67141a9091c5308083fbf89ae9225aeda0d31b08d35df35772e1b45fc3815be2
Contents?: true
Size: 578 Bytes
Versions: 6
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: true require_relative "article_info" module Ieee module Idams # Represents an article within a volume class Article < Lutaml::Model::Serializable # Article title # @return [String] full article title attribute :title, :string # Article information # @return [ArticleInfo] detailed article metadata attribute :articleinfo, ArticleInfo xml do root "article" map_element "title", to: :title, cdata: true map_element "articleinfo", to: :articleinfo end end end end
Version data entries
6 entries across 6 versions & 1 rubygems