Sha256: 80e5c4f8178caac3f50ad375adbd352f6a2ae214a4da726fb95c67a2c25341c6
Contents?: true
Size: 595 Bytes
Versions: 1
Compression:
Stored size: 595 Bytes
Contents
require 'spree_core' module SpreeGoogleMerchant class Engine < Rails::Engine config.autoload_paths += %W(#{config.root}/lib) def self.activate Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c| Rails.env.production? ? require(c) : load(c) end end config.to_prepare &method(:activate).to_proc # instantiate the configuration object initializer "spree.google_merchant.preferences", :after => "spree.environment" do |app| Spree::GoogleMerchant::Config = Spree::GoogleMerchantConfiguration.new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_google_merchant-0.60.0.RC1 | lib/spree_google_merchant.rb |