Class: Exlibris::Aleph::API::Client::Record
- Defined in:
- lib/exlibris/aleph/api/client/record.rb,
lib/exlibris/aleph/api/client/record/item.rb,
lib/exlibris/aleph/api/client/record/items.rb,
lib/exlibris/aleph/api/client/record/filters.rb,
lib/exlibris/aleph/api/client/record/holding.rb,
lib/exlibris/aleph/api/client/record/holdings.rb
Defined Under Namespace
Classes: Filters, Holding, Holdings, Item, Items
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, query = {}) ⇒ Record
constructor
A new instance of Record.
Methods inherited from Base
#error?, #reply_code, #reply_text, #root, #to_h, #to_xml
Constructor Details
#initialize(id, query = {}) ⇒ Record
Returns a new instance of Record.
8 9 10 11 |
# File 'lib/exlibris/aleph/api/client/record.rb', line 8 def initialize(id, query={}) super(query) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/exlibris/aleph/api/client/record.rb', line 6 def id @id end |