Module: EffectiveProductsRingWizard::ClassMethods

Defined in:
app/models/concerns/effective_products_ring_wizard.rb

Instance Method Summary collapse

Instance Method Details

#all_wizard_stepsObject



19
20
21
# File 'app/models/concerns/effective_products_ring_wizard.rb', line 19

def all_wizard_steps
  const_get(:WIZARD_STEPS).keys
end

#effective_products_ring_wizard?Boolean

Returns:

  • (Boolean)


17
# File 'app/models/concerns/effective_products_ring_wizard.rb', line 17

def effective_products_ring_wizard?; true; end

#required_wizard_stepsObject



23
24
25
# File 'app/models/concerns/effective_products_ring_wizard.rb', line 23

def required_wizard_steps
  [:start, :billing, :checkout, :submitted]
end