Sha256: 84f5bb3ad7212a84bc344ed76da53d29ed4e47e7193c05496e4df6c27b9213bf
Contents?: true
Size: 282 Bytes
Versions: 1
Compression:
Stored size: 282 Bytes
Contents
module MiniCamel module ProcessorDefinition class To < Base values do attribute :route, Symbol validates :route, presence: true end def generate_processor(env) Processor::To.new(env: env, route: route) 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/to.rb |