Class: Exlibris::Aleph::API::Reader::Patron::Record::Item::CreateHold
- Defined in:
- lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb
Instance Attribute Summary collapse
-
#note ⇒ Object
readonly
Returns the value of attribute note.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(root) ⇒ CreateHold
constructor
A new instance of CreateHold.
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
#note ⇒ Object (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 |
#type ⇒ Object (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 |