Sha256: d7282311d24b8bd351cf197ee799fc7ce428c4f9edcf6c4ed603e6320268633e
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
require "skala/adapter/search" require_relative "../primo_adapter" class Skala::PrimoAdapter::Search < Skala::Adapter::Search require_relative "./search/request_transformation" require_relative "./search/result_transformation" def call(search_request, options = {}) primo_soap_request = RequestTransformation.new.call(search_request, adapter, options) primo_result = adapter.soap_api.searchBrief(primo_soap_request) ResultTransformation.new.call(primo_result, search_request: search_request) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skala-1.1.0 | lib/skala/primo_adapter/search.rb |