Sha256: 027850cd98f655805b2912873851eab887fab3c3c52816acbf75ce426005f678
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
module SpreeCoinbase class Engine < Rails::Engine engine_name 'spree_coinbase' config.to_prepare do Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end initializer "spree.spree_coinbase.payment_methods", :after => "spree.register.payment_methods" do |app| app.config.spree.payment_methods << Spree::PaymentMethod::Coinbase end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_coinbase-2.2.0.1 | lib/spree_coinbase/engine.rb |