Class: Spree::Shipstation::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Spree::Shipstation::Engine
- Defined in:
- lib/spree/shipstation/engine.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
22 23 24 25 26 27 |
# File 'lib/spree/shipstation/engine.rb', line 22 def self.activate # Three levels up from lib/spree/shipstation/ to reach the gem root. Dir.glob(File.join(File.dirname(__FILE__), "../../../app/**/*_decorator*.rb")).sort.each do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end |