Sha256: 2f34115d744a5e27c46a778ebca136a72efe9f1f8082f8e172543ac22e419137
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
module MiniCamel module ProcessorDefinition class WrapInDto < Base values do attribute :field, Symbol validates :field, presence: true attribute :as, Symbol validates :as, presence: true end def generate_processor(env) Processor::WrapInDto.new(env: env, field: field, as: as) 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/wrap_in_dto.rb |