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.84 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.83 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.82 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.81 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.80 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.79 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.78 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.77 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.76 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.75 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.74 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.73 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.72 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.71 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.70 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.69 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.68 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.67 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.66 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb
ree_lib-1.0.65 lib/ree_lib/packages/ree_mapper/package/ree_mapper/default_factory.rb