Class: Dionysus::Utils::NullTransactionProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/dionysus/utils/null_transaction_provider.rb

Class Method Summary collapse

Class Method Details

.connection_poolObject



8
9
10
# File 'lib/dionysus/utils/null_transaction_provider.rb', line 8

def self.connection_pool
  self
end

.transactionObject



4
5
6
# File 'lib/dionysus/utils/null_transaction_provider.rb', line 4

def self.transaction
  yield
end

.with_connectionObject



12
13
14
# File 'lib/dionysus/utils/null_transaction_provider.rb', line 12

def self.with_connection
  yield
end