Class: SpreeMailChimp::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- SpreeMailChimp::Engine
- Defined in:
- lib/spree_mail_chimp/engine.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
7 8 9 10 11 |
# File 'lib/spree_mail_chimp/engine.rb', line 7 def self.activate Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c| Rails.application.config.cache_classes ? require(c) : load(c) end end |