Sha256: c78e0c632724d1b47a277c6838e8f8ca0a1c68420f4bbbaed20f2379800a7b2a

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module MiniCamel
  module Processor
    class TransformEach < ProcessEach

      values do
        attribute :to, Symbol
      end

      def call(exchange)
        exchange.update_context(to => super)
      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/transform_each.rb