Class: SpreeAdvancedCalculators::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/spree_advanced_calculators.rb

Class Method Summary collapse

Class Method Details

.activateObject



6
7
8
9
10
11
# File 'lib/spree_advanced_calculators.rb', line 6

def self.activate
  [ 
    Calculator::WeightBucket, 
    Calculator::QuantityBucket
  ].each(&:register)
end