Sha256: 39d6d721531db7ca40ea0d829b4d794c75c6dfd19fe24de10a7f364d1b67f94e

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

module MiniCamel
  module ProcessorDefinition
    class TransformEach < ProcessEach

      values do
        attribute :to, Symbol
        validates :to, presence: true
      end

      def generate_processor(env)
        Processor::TransformEach.new(
          env: env, field: field, in_field: in_field, with_class: with_class,
          additional_fields: additional_fields, to: to
        )
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mini_camel-0.5.8 lib/mini_camel/processor_definition/transform_each.rb