Methods

DataMapper::Transaction::Repository

Public Instance Methods

transaction() click to toggle source

Produce a new Transaction for this Repository

@return [Adapters::Transaction]

a new Transaction (in state :none) that can be used
to execute code #with_transaction

@api public

# File lib/dm-transactions.rb, line 353
def transaction
  Transaction.new(self)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.