Sha256: e8e76b85fe9e600e9ad5a00638eaedf1dbcd919bda34ccaa2257093758171106

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

module MiniCamel
  module Processor
    class To < Base

      values do
        attribute :route, Symbol
      end

      def call(exchange)
        env.call_route(route, exchange)
      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/to.rb