Sha256: d557f27a7eea08da1f97300a367dcaf4a59ac7f923c46c8e333b0e263e555c73
Contents?: true
Size: 545 Bytes
Versions: 30
Compression:
Stored size: 545 Bytes
Contents
class ReeMapper::DefaultFactory include Ree::BeanDSL bean :default_factory do link :build_mapper_factory link :build_mapper_strategy factory :build end def build build_mapper_factory(strategies: [ build_mapper_strategy(method: :cast, output: :symbol_key_hash), build_mapper_strategy(method: :serialize, output: :symbol_key_hash), build_mapper_strategy(method: :db_dump, output: :symbol_key_hash), build_mapper_strategy(method: :db_load, output: :object, always_optional: true) ]) end end
Version data entries
30 entries across 30 versions & 1 rubygems