Class: WithdrawalLifecycle

Inherits:
Object
  • Object
show all
Defined in:
app/lifecycle/withdrawal_lifecycle.rb

Defined Under Namespace

Modules: StateMachineTransitionMixin Classes: Triggers

Class Method Summary collapse

Class Method Details

.after_create(withdrawal) ⇒ Object



2
3
4
# File 'app/lifecycle/withdrawal_lifecycle.rb', line 2

def self.after_create(withdrawal)
  Triggers.notify_admin(withdrawal)
end