Class: Skala::PrimoAdapter::Search::RequestTransformation::SetInstitution

Inherits:
Transformator::Transformation::Step
  • Object
show all
Defined in:
lib/skala/primo_adapter/search/request_transformation/set_institution.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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