Class: Exlibris::Aleph::Config::Tab31
- Inherits:
-
ConfigBySubLibrary
- Object
- ConfigBase
- ConfigBySubLibrary
- Exlibris::Aleph::Config::Tab31
- Defined in:
- lib/exlibris/aleph/config/tab31.rb
Instance Attribute Summary
Attributes inherited from ConfigBase
#config_array, #config_hash, #file_name, #hash_key, #library, #local_file, #local_path, #pattern, #pattern_key
Instance Method Summary collapse
-
#initialize(args) ⇒ Tab31
constructor
A new instance of Tab31.
Methods inherited from ConfigBySubLibrary
Methods inherited from ConfigBase
Constructor Details
#initialize(args) ⇒ Tab31
Returns a new instance of Tab31.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/exlibris/aleph/config/tab31.rb', line 6 def initialize(args) args[:aleph_file_name] = "tab31" args[:pattern] = /^(.{5})\s([0-9#]{2})\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([CF])\s([+A])\s([DMY\s])\s([0-9]{8})\s([0-9]{10})\s([YN])\s([YN])\s([YN])\s([0-9]{2})\s([YN])\s([YN])\s([YN])/ args[:pattern_key] = { 1 => :sub_library, 2 => :patron_status, 3 => :loan_permission, 4 => :photo_permission, 5 => :override_permission, 6 => :multiple_hold_permission, 7 => :check_loan, 8 => :hold_permission, 9 => :renew_permission, 10 => :ignore_late_return, 11 => :photocopy_charge, 12 => :expiration_date_operator, 13 => :expiration_date_operator_type, 14 => :expiration_date_parameter, 15 => :cash_overspend_limit, 16 => :hold_request_permission_for_item_on_shelf, 17 => :loan_display, 18 => :reading_room_permission, 19 => :default_hold_priority, 20 => :item_booking_permission, 21 => :booking_ignore_closing_hours, 22 => :automatically_create_aleph_record } args[:hash_key] = :patron_status super(args) end |