Class: Skala::PrimoAdapter::Search
- Inherits:
-
Adapter::Search
- Object
- Adapter::Operation
- Adapter::Search
- Skala::PrimoAdapter::Search
- Defined in:
- lib/skala/primo_adapter/search.rb
Defined Under Namespace
Classes: RequestTransformation, ResultTransformation
Instance Attribute Summary
Attributes inherited from Adapter::Operation
Instance Method Summary collapse
Methods inherited from Adapter::Operation
Constructor Details
This class inherits a constructor from Skala::Adapter::Operation
Instance Method Details
#call(search_request, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/skala/primo_adapter/search.rb', line 8 def call(search_request, = {}) primo_soap_request = RequestTransformation.new.call(search_request, adapter, ) primo_result = adapter.soap_api.searchBrief(primo_soap_request) ResultTransformation.new.call(primo_result, search_request: search_request) end |