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