Sha256: 26b354090ca36343fe631fd8adcb3ff4baa64e9fd20b6b115e27ca74750d5def
Contents?: true
Size: 610 Bytes
Versions: 3
Compression:
Stored size: 610 Bytes
Contents
module Exlibris module Aleph class Patron attr_reader :id def initialize(id) @id = id end def admin_library @admin_library ||= AdminLibrary.new(reader.admin_library_code) end def address @address ||= Address.new(id) end def record(record_id) Record.new(id, record_id) end private def client @client ||= API::Client::Patron.new(id) end def root @root ||= client.root end def reader @reader ||= API::Reader::Patron.new(root) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
exlibris-aleph-2.0.4 | lib/exlibris/aleph/patron.rb |
exlibris-aleph-2.0.3 | lib/exlibris/aleph/patron.rb |
exlibris-aleph-2.0.0 | lib/exlibris/aleph/patron.rb |