Sha256: 3c65772a86a9045f376e1646e9310e6afe2a3feb90453597b8155160081106d5
Contents?: true
Size: 352 Bytes
Versions: 3
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true require_relative "base_mapper" module LocMods class RecordContentSource < BaseMapper attribute :authority, Shale::Type::String attribute :content, Shale::Type::String xml do root "RecordContentSource" map_content to: :content map_attribute "authority", to: :authority end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.4 | lib/loc_mods/record_content_source.rb |
loc_mods-0.2.3 | lib/loc_mods/record_content_source.rb |
loc_mods-0.2.2 | lib/loc_mods/record_content_source.rb |