Sha256: 406c49c38718f9862c0d6f289ea12eb30f494338d7aed2968921bea916fcf0c8
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 Bytes
Contents
# frozen_string_literal: true require "lutaml/model" module LocMods class TargetAudience < Lutaml::Model::Serializable attribute :content, :string attribute :authority, :string attribute :display_label, :string attribute :alt_rep_group, :string xml do root "targetAudience" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "authority", to: :authority map_attribute "displayLabel", to: :display_label map_attribute "altRepGroup", to: :alt_rep_group end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.7 | lib/loc_mods/target_audience.rb |
loc_mods-0.2.6 | lib/loc_mods/target_audience.rb |