Class: Datamappify::Repository::UnitOfWork::Transaction
- Inherits:
-
Object
- Object
- Datamappify::Repository::UnitOfWork::Transaction
- Defined in:
- lib/datamappify/repository/unit_of_work/transaction.rb
Instance Method Summary collapse
- #initialize(data_mapper) { ... } ⇒ void constructor
Constructor Details
#initialize(data_mapper) { ... } ⇒ void
11 12 13 |
# File 'lib/datamappify/repository/unit_of_work/transaction.rb', line 11 def initialize(data_mapper, &block) data_mapper.default_provider.build_criteria(:Transaction, data_mapper.default_source_class, &block) end |