Class: ConvenientService::Service::Plugins::WrapsResultInDBTransaction::UsingActiveRecordBaseTransaction::Middleware Private

Inherits:
MethodChainMiddleware
  • Object
show all
Defined in:
lib/convenient_service/service/plugins/wraps_result_in_db_transaction/using_active_record_base_transaction/middleware.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Instance Method Details

#nextObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0



16
17
18
# File 'lib/convenient_service/service/plugins/wraps_result_in_db_transaction/using_active_record_base_transaction/middleware.rb', line 16

def next(...)
  ::ActiveRecord::Base.transaction { chain.next(...) }
end