Sha256: 47044f9849c9dfe77fdb7385e955f31237b2017bed06011d2f4c399d7dafe921

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

require "celsius/transformation/step"
require "ox"

class Celsius::Primo::SoapApi::Searcher::SearchBrief::SearchResultTransformation::
  SetupTargetSkeleton < Celsius::Transformation::Step

  def call
    transformation.target = {
      "took" => nil,
      "hits" => {
        "hits" => [],
        "total" => 0
      },
      "facets" => {}
    }    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
celsius-primo-0.1.4 lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/setup_target_skeleton.rb
celsius-primo-0.1.3 lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/setup_target_skeleton.rb
celsius-primo-0.1.2 lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/setup_target_skeleton.rb
celsius-primo-0.1.1 lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/setup_target_skeleton.rb
celsius-primo-0.1.0 lib/celsius/primo/soap_api/searcher/search_brief/search_result_transformation/setup_target_skeleton.rb