lib/berkeley_library/tind/mapping/alma_base.rb
# This is mainly for testing purpose, each collection can have a function to save it's record
This is mainly for testing purpose, each collection can have a function to save it's record
This is mainly for testing purpose each collection can have a function to save it ' s record
def base_save(id, tind_record, file)
          raise ArgumentError, "#{id} has no TIND record or not a qualified TIND record." unless tind_record
          BerkeleyLibrary::TIND::MARC::XMLWriter.open(file) do |writer|
            writer.write(tind_record)
          end
        end
def base_save ( id , tind_record , file ) raise ArgumentError , "#{id} has no TIND record or not a qualified TIND record." unless tind_record BerkeleyLibrary :: TIND :: MARC :: XMLWriter . open ( file ) do | writer | writer . write ( tind_record ) end end
This is mainly for testing purpose, each collection can have a function to save it's record
This is mainly for testing purpose each collection can have a function to save it ' s record
id
<not_specific>
tind_record
<not_specific>
file
<not_specific>