Sha256: d9473601815ea1dfb5a5389dc9b3406ba51d7442c10bf8006ce1d7cfcc3b6bd2

Contents?: true

Size: 463 Bytes

Versions: 94

Compression:

Stored size: 463 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),
      build_mapper_strategy(method: :serialize),
      build_mapper_strategy(method: :db_dump),
      build_mapper_strategy(method: :db_load, dto: Object, always_optional: true)
    ])
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
ree_lib-1.0.124 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.123 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.122 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.121 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.120 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.119 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.118 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.117 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.116 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.115 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.114 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.113 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.112 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.111 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.110 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.109 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.108 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.107 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.106 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.105 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb