Sha256: 3356d3eeb590dc3de445f058b56f618cd9fd089e14cd1e164c97d1e917967dc1

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

module Shoppe
  module Paypal
    class Engine < Rails::Engine
      
      initializer "shoppe.paypal.initializer" do
        Shoppe::Paypal.setup
      end

      config.to_prepare do
        Shoppe::Order.send :include, Shoppe::Paypal::OrderExtensions
        Shoppe::Payment.send :include, Shoppe::Paypal::PaymentExtensions
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoppe-paypal-1.2.0 lib/shoppe/paypal/engine.rb
shoppe-paypal-1.1.1 lib/shoppe/paypal/engine.rb
shoppe-paypal-1.1.0 lib/shoppe/paypal/engine.rb
shoppe-paypal-1.0.0 lib/shoppe/paypal/engine.rb