Sha256: 3e98542d9a86450eff5d26c33c1b7a4e2fe0ad7ed051d10a9eb857a7427667a1

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

module MiniCamel
  module ProcessorDefinition
    class ExtractResult < Base

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

      def generate_processor(env)
        Processor::ExtractResult.new(env: env, from: from)
      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/extract_result.rb