Sha256: 75b196b8ab561364a9419f0aa8c361c471ba5335a256cf0a283a23ae3c44d85b

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

module MiniCamel
  module ProcessorDefinition
    class Pipeline < Base

      values do
        attribute :routes, [Symbol]
        validates :routes, presence: true
      end

      def generate_processor(env)
        Processor::Pipeline.new(env: env, routes: routes)
      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/pipeline.rb