Sha256: 3b2f80d2019dcc3400c29006564e8d55008e8d28b5f60151270941776fe12d3b
Contents?: true
Size: 579 Bytes
Versions: 15
Compression:
Stored size: 579 Bytes
Contents
require "dm-core" module Ldap class NoopTransaction def close ; end def begin ; end def prepare ; end def commit ; end def rollback ; end def rollback_prepared ; end end end module DataMapper module Adapters class LdapAdapter def transaction_primitive ::Ldap::NoopTransaction.new end def push_transaction(transaction) @transaction = transaction end def pop_transaction @transaction end def current_transaction @transaction end end end end
Version data entries
15 entries across 15 versions & 1 rubygems