Module: Workarea::Segment::LifeCycle

Extended by:
ActiveSupport::Concern
Included in:
FirstTimeCustomer, FirstTimeVisitor, LoyalCustomer, ReturningCustomer, ReturningVisitor
Defined in:
app/models/workarea/segment/life_cycle.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create!Object



29
30
31
32
33
34
35
36
37
# File 'app/models/workarea/segment/life_cycle.rb', line 29

def self.create!
  [
    FirstTimeVisitor,
    ReturningVisitor,
    FirstTimeCustomer,
    ReturningCustomer,
    LoyalCustomer
  ].each(&:instance)
end

Instance Method Details

#destroyObject



39
40
41
# File 'app/models/workarea/segment/life_cycle.rb', line 39

def destroy
  false
end