Class: Exlibris::Aleph::API::Client::Patron
- Defined in:
- lib/exlibris/aleph/api/client/patron.rb,
lib/exlibris/aleph/api/client/patron/record.rb,
lib/exlibris/aleph/api/client/patron/status.rb,
lib/exlibris/aleph/api/client/patron/address.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: Address, Record, Status
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.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(id) ⇒ Patron
constructor
A new instance of Patron.
Methods inherited from Base
#error?, #reply_code, #reply_text, #root, #to_h, #to_xml
Constructor Details
#initialize(id) ⇒ Patron
Returns a new instance of Patron.
8 9 10 |
# File 'lib/exlibris/aleph/api/client/patron.rb', line 8 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/exlibris/aleph/api/client/patron.rb', line 6 def id @id end |