Class: Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation::SetId
- Inherits:
-
Transformator::Transformation::Step
- Object
- Transformator::Transformation::Step
- Skala::PrimoAdapter::Search::ResultTransformation::DocTransformation::SetId
- Defined in:
- lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_id.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 |
# File 'lib/skala/primo_adapter/search/result_transformation/doc_transformation/set_id.rb', line 7 def call target.record.id = source.at_xpath(".//control/recordid").text().gsub(/\ATN_/, "").split(":").last end |