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