Sha256: 166f35839085205fd103ed7aedf8817eea7edfa77042ebc0f5da419ac5f70640

Contents?: true

Size: 408 Bytes

Versions: 3

Compression:

Stored size: 408 Bytes

Contents

module Exlibris
  module Aleph
    module Table
      module Reader
        class PatronStatuses < Base
          FILENAME = 'pc_tab_exp_field_extended.eng'

          def initialize(admin_library)
            super(admin_library, FILENAME)
          end

          def all
            rows.map { |row| Aleph::Patron::Status.new(row.code, row.display) }
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exlibris-aleph-2.0.4 lib/exlibris/aleph/table/reader/patron_statuses.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/table/reader/patron_statuses.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/table/reader/patron_statuses.rb