Class: Skala::PrimoAdapter::Search::RequestTransformation::SetStartIndex
- Inherits:
-
Transformator::Transformation::Step
- Object
- Transformator::Transformation::Step
- Skala::PrimoAdapter::Search::RequestTransformation::SetStartIndex
- Defined in:
- lib/skala/primo_adapter/search/request_transformation/set_start_index.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 |
# File 'lib/skala/primo_adapter/search/request_transformation/set_start_index.rb', line 7 def call transformation.inner_search_request.locate("PrimoSearchRequest/StartIndex").first.tap do |_node| _node << (source.from + 1).to_s end end |