Class: CustomerTxnContext

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/customer_txn_context.rb

Instance Method Summary collapse

Instance Method Details

#after_createObject



6
7
8
9
10
# File 'app/models/customer_txn_context.rb', line 6

def after_create
  base_txn_context = BaseTxnContext.new
  base_txn_context.txn_context_record  = self
  base_txn_context.save
end