Class: Skala::AlephAdapter::GetRecordHoldableItems
- Inherits:
-
Skala::Adapter::GetRecordHoldableItems
- Object
- Skala::Adapter::Operation
- Skala::Adapter::GetRecordHoldableItems
- Skala::AlephAdapter::GetRecordHoldableItems
- Defined in:
- lib/skala/aleph_adapter/get_record_holdable_items.rb
Instance Attribute Summary
Attributes inherited from Skala::Adapter::Operation
Instance Method Summary collapse
Methods inherited from Skala::Adapter::Operation
Constructor Details
This class inherits a constructor from Skala::Adapter::Operation
Instance Method Details
#call(document_number, username, options = {}) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/skala/aleph_adapter/get_record_holdable_items.rb', line 7 def call(document_number, username, = {}) get_record_items_result = get_record_items(document_number, .merge(username: username)) self.class::Result.new( holdable_items: holdable_items(get_record_items_result), source: get_record_items_result.source ) end |