Produce a new Transaction for this Resource class
@return <Adapters::Transaction
a new Adapters::Transaction with all Repositories of the class of this Resource added.
@api public
# File lib/dm-transactions.rb, line 371 def transaction transaction = Transaction.new(self) transaction.commit { |block_args| yield(*block_args) } end
Generated with the Darkfish Rdoc Generator 2.