Class: Skala::PrimoAdapter::Search::RequestTransformation::SetInstitution
- Inherits:
-
Transformator::Transformation::Step
- Object
- Transformator::Transformation::Step
- Skala::PrimoAdapter::Search::RequestTransformation::SetInstitution
- Defined in:
- lib/skala/primo_adapter/search/request_transformation/set_institution.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 |
# File 'lib/skala/primo_adapter/search/request_transformation/set_institution.rb', line 7 def call transformation.inner_search_request.locate("institution").first.tap do |node| node << transformation.institution end end |