Class: Exlibris::Aleph::API::Reader::Patron::Record::Item::CreateHold

Inherits:
Base
  • Object
show all
Defined in:
lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#root

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ CreateHold

Returns a new instance of CreateHold.



12
13
14
15
16
# File 'lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb', line 12

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

Instance Attribute Details

#noteObject (readonly)

Returns the value of attribute note.



10
11
12
# File 'lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb', line 10

def note
  @note
end

#typeObject (readonly)

Returns the value of attribute type.



10
11
12
# File 'lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb', line 10

def type
  @type
end