Sha256: 0f4e37bff34859c26630db4bba3bb047f0ac440c778fbead66448dfafafefb9e
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
module SpreePostalService class Engine < Rails::Engine isolate_namespace Spree engine_name 'spree_postal_service' config.autoload_paths += %W(#{config.root}/lib) initializer 'spree.register.calculators' do |app| require 'spree/calculator/shipping/postal_service' app.config.spree.calculators.shipping_methods << Spree::Calculator::Shipping::PostalService end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_postal_service-2.4.0 | lib/spree_postal_service/engine.rb |
spree_postal_service-2.3.1 | lib/spree_postal_service/engine.rb |
spree_postal_service-2.3.0 | lib/spree_postal_service/engine.rb |