Class: MemberLifecycle

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

Defined Under Namespace

Modules: StateMachineTransitionMixin Classes: Triggers

Class Method Summary collapse

Class Method Details

.after_create(member) ⇒ Object



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

def self.after_create(member)
  Triggers.send_welcome_email(member)
  Triggers.construct_member(member)
end

.after_save(member) ⇒ Object



7
8
9
# File 'app/lifecycle/member_lifecycle.rb', line 7

def self.after_save(member)
  Triggers.record_country_for_reporting(member)
end