Sha256: 61728e18b91e1c6ccd205f18938d333f461fecb748800d98e6b7e97c78e2115e

Contents?: true

Size: 324 Bytes

Versions: 3

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module ExperianConsumerView
  module Transformers
    # Trivial implementation of a result transformer for when the calling code just wants the raw results as returned
    # by the API.
    class NoOpTransformer
      def transform(result_hash)
        result_hash
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
experian_consumer_view-1.2.0 lib/experian_consumer_view/transformers/no_op_transformer.rb
experian_consumer_view-1.1.0 lib/experian_consumer_view/transformers/no_op_transformer.rb
experian_consumer_view-1.0.0 lib/experian_consumer_view/transformers/no_op_transformer.rb