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