Sha256: 79809538f53b47bc5a3d3f0a2cef6b80c49be423696e06405058dfeb5a0829d7

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

module MiniCamel
  module ProcessorDefinition
    class Each < Base

      values do
        attribute :field, Symbol
        validates :field, presence: true

        attribute :in_field, Symbol
        validates :in_field, presence: true

        attribute :additional_fields, [Symbol]

        attribute :with_class, Class
        validates :with_class, presence: true
      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/each.rb