Sha256: e2ce986b7ed0f10f2b1e732bcc0dda171dc3c1366f655bd950585a2243e02343

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

module ROM
  module HTTP
    # Transformer
    #
    # Used to perform data transformations on behalf of relations
    #
    # @api private
    module Transformer
      extend Transproc::Registry

      import :identity, from: ::Transproc::Coercions
      import :map_array, from: ::Transproc::ArrayTransformations
      import :rename_keys, from: ::Transproc::HashTransformations
      import :deep_merge, from: ::Transproc::HashTransformations
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-http-0.10.0 lib/rom/http/transformer.rb
rom-http-0.9.0 lib/rom/http/transformer.rb
rom-http-0.8.0 lib/rom/http/transformer.rb