Module: EffectiveProducts
- Includes:
- EffectiveGem
- Defined in:
- lib/effective_products.rb,
lib/effective_products/engine.rb,
lib/effective_products/version.rb
Defined Under Namespace
Classes: Engine
Constant Summary collapse
- VERSION =
'0.3.8'.freeze
Class Method Summary collapse
Class Method Details
.config_keys ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/effective_products.rb', line 8 def self.config_keys [ :rings_table_name, :ring_wizards_table_name, :ring_wizard_class_name, :stamps_table_name, :stamp_wizards_table_name, :stamp_wizard_class_name, :stamp_categories, :layout, :use_effective_roles ] end |
.RingWizard ⇒ Object
19 20 21 |
# File 'lib/effective_products.rb', line 19 def self.RingWizard ring_wizard_class_name&.constantize || Effective::RingWizard end |
.stamp_categories ⇒ Object
27 28 29 |
# File 'lib/effective_products.rb', line 27 def self.stamp_categories Array(config[:stamp_categories]) end |
.StampWizard ⇒ Object
23 24 25 |
# File 'lib/effective_products.rb', line 23 def self.StampWizard stamp_wizard_class_name&.constantize || Effective::StampWizard end |