Class: ReeMapper::ReeDtoOutput

Inherits:
StrategyOutput show all
Defined in:
lib/ree_lib/packages/ree_mapper/package/ree_mapper/strategy_outputs/ree_dto_output.rb

Instance Attribute Summary

Attributes inherited from StrategyOutput

#dto

Instance Method Summary collapse

Methods inherited from StrategyOutput

#initialize, #prepare_dto

Constructor Details

This class inherits a constructor from ReeMapper::StrategyOutput

Instance Method Details

#assign_value(object, field, value) ⇒ Object



10
11
12
13
# File 'lib/ree_lib/packages/ree_mapper/package/ree_mapper/strategy_outputs/ree_dto_output.rb', line 10

def assign_value(object, field, value)
  object.set_attr(field.name, value)
  nil
end

#build_objectObject



5
6
7
# File 'lib/ree_lib/packages/ree_mapper/package/ree_mapper/strategy_outputs/ree_dto_output.rb', line 5

def build_object
  dto.new
end