Sha256: a52d66de80bc0139bc4127656702e3d0d1b9541fe9ce911c2c41528564fb6121

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

module MiniCamel
  module ProcessorDefinition
    class Transform < Process

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

      def generate_processor(env)
        Processor::Transform.new(env: env, fields: fields, to: to, with_class: with_class)
      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.rb