Class: Exlibris::Aleph::API::Client::Patron::Record::Item::Hold
- Defined in:
- lib/exlibris/aleph/api/client/patron/record/item/hold.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Base::DEFAULT_REQUEST_METHOD, Base::VALID_VIEWS
Instance Attribute Summary collapse
-
#item_id ⇒ Object
readonly
Returns the value of attribute item_id.
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#patron_id ⇒ Object
readonly
Returns the value of attribute patron_id.
-
#record_id ⇒ Object
readonly
Returns the value of attribute record_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(patron_id, record_id, item_id) ⇒ Hold
constructor
A new instance of Hold.
Methods inherited from Base
#error?, #reply_code, #reply_text, #root, #to_h, #to_xml
Constructor Details
#initialize(patron_id, record_id, item_id) ⇒ Hold
Returns a new instance of Hold.
11 12 13 14 15 |
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 11 def initialize(patron_id, record_id, item_id) @patron_id = patron_id @record_id = record_id @item_id = item_id end |
Instance Attribute Details
#item_id ⇒ Object (readonly)
Returns the value of attribute item_id.
9 10 11 |
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9 def item_id @item_id end |
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
9 10 11 |
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9 def parameters @parameters end |
#patron_id ⇒ Object (readonly)
Returns the value of attribute patron_id.
9 10 11 |
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9 def patron_id @patron_id end |
#record_id ⇒ Object (readonly)
Returns the value of attribute record_id.
9 10 11 |
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9 def record_id @record_id end |