Sha256: 0e6bbe1e8a34a025a17f14779ad524b10c9d70c1db5892965e0ecd1d91abd685

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

require "ox"
require "transformator/transformation/step"
require_relative "../request_transformation"

class Skala::PrimoAdapter::Search::RequestTransformation::
  SerializeTargetAsXml < Transformator::Transformation::Step

  def call
    self.target = Ox.dump(self.target, with_xml: true)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/primo_adapter/search/request_transformation/serialize_target_as_xml.rb