Sha256: ba5ae18b8e434a991692ed84c31e395c56a6cee5eabbc7293a12be43f33ccf0a
Contents?: true
Size: 860 Bytes
Versions: 3
Compression:
Stored size: 860 Bytes
Contents
module Exlibris module Aleph module API module Reader class Patron < Base class Status < Base attr_reader :code, :display, :type, :expiration_date, :institution_code def initialize(root) super(root) @code = institution['z305_bor_status_code'] @display = institution['z305_bor_status'] @type = institution['z305_bor_type'] @expiration_date = institution['z305_expiry_date'] @institution_code = institution['code'] end private def registration @registration ||= root['registration'] end def institution @institution ||= registration['institution'] end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems