Sha256: 6ee0daa4c02f782880ad54942761503f3c2abcd7fcf2ad3a0baaaa7440e26e9a

Contents?: true

Size: 740 Bytes

Versions: 3

Compression:

Stored size: 740 Bytes

Contents

module Exlibris
  module Aleph
    module API
      module Reader
        class Patron < Base
          class Record < Base
            class Item < Base
              class CreateHold < Base

                attr_reader :note, :type

                def initialize(root)
                  super(root)
                  @note = note_root['__content__']
                  @type = note_root['type']
                end

                private
                def create_hold
                  @create_hold ||= root['create_hold']
                end

                def note_root
                  @note_root ||= create_hold['note']
                end
              end
            end
          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/api/reader/patron/record/item/create_hold.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb