Class: ReeMapper::BuildMapperStrategy

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_mapper/package/ree_mapper/functions/build_mapper_strategy.rb

Instance Method Summary collapse

Instance Method Details

#call(method:, dto: Hash, always_optional: false) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/ree_lib/packages/ree_mapper/package/ree_mapper/functions/build_mapper_strategy.rb', line 13

def call(method:, dto: Hash, always_optional: false)
  ReeMapper::MapperStrategy.new(
    method:          method,
    dto:             dto,
    always_optional: always_optional
  )
end