Sha256: 6cbf4e95395b19a43379cf2fffe2290abc6da336c62f07670f342bb8623bfeb8

Contents?: true

Size: 763 Bytes

Versions: 4

Compression:

Stored size: 763 Bytes

Contents

require 'marc'
require 'berkeley_library/tind'
require 'berkeley_library/alma'
module BerkeleyLibrary
  module TIND
    module Mapping

      class AlmaMultipleTIND
        include Util
        include AlmaBase
        include BerkeleyLibrary::Logging

        # id can be
        # 1) Alma mms id
        # 2) Oskicat No
        # 3) BarCode No
        def initialize(id)
          @id = id
          @marc_record = alma_record_from(id)
        end

        # If alma record is nil or un-qualified, it returns nil
        # Input datafields - an array of record specific datafields:  for example, fft datafields, datafield 035 etc.
        def record(datafields)
          base_tind_record(@id, datafields, @marc_record)
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkeley_library-tind-0.7.2 lib/berkeley_library/tind/mapping/alma_multiple_tind.rb
berkeley_library-tind-0.7.1 lib/berkeley_library/tind/mapping/alma_multiple_tind.rb
berkeley_library-tind-0.7.0 lib/berkeley_library/tind/mapping/alma_multiple_tind.rb
berkeley_library-tind-0.6.0 lib/berkeley_library/tind/mapping/alma_multiple_tind.rb