Sha256: cb67ab23784ecf412baf8f927e63ac698d003c9780f4bde45b2a34cee48ca49e

Contents?: true

Size: 1.02 KB

Versions: 9

Compression:

Stored size: 1.02 KB

Contents

module Exlibris
  module Aleph
    module Config
      class Tab15ByItemStatus < Exlibris::Aleph::Config::ConfigBySubLibrary

        def initialize(args)
          args[:aleph_file_name] = "tab15.eng"
          args[:pattern] = /^(.{5})\s([0-9#]{2})\s([A-Z#]{2})\s(L)\s(.{30})\s([YN])\s([YN])\s([YNCT])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([0-9]{2})\s([YNC])\s([AOC])/
          args[:pattern_key] = {
            1  => :sub_library, 
            2  => :item_status, 
            3  => :item_process_status, 
            5  => :text, 
            6  => :loan,
            7  => :renew,
            8  => :hold_request,
            9  => :photocopy_request,
            10 => :web_opac,
            11 => :specific_item,
            12 => :limit_hold,
            13 => :recall,
            14 => :rush_recall,
            15 => :reloaning_limit,
            16 => :booking_permission,
            17 => :booking_hours
          }
          args[:hash_key] = :item_status
          super(args)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
exlibris-aleph-0.1.6 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.5 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.4 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.3 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.2 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.1 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.1.0 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.0.2 lib/exlibris/aleph/config/tab15_by_item_status.rb
exlibris-aleph-0.0.1 lib/exlibris/aleph/config/tab15_by_item_status.rb