Sha256: 33e2a332f8f211fa2bbc8655337c73342e5a161dd59bab76cd4efc189dd783b2

Contents?: true

Size: 279 Bytes

Versions: 4

Compression:

Stored size: 279 Bytes

Contents

module SpreePaypal
  class Engine < Rails::Engine
    require 'spree/core'
    isolate_namespace Spree
    engine_name 'spree_paypal'

    config.after_initialize do |app|
      app.config.spree.payment_methods += [
        Spree::PaymentMethod::Paypal,
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_paypal-1.0.0 lib/spree_paypal/engine.rb
spree_paypal-0.1.2 lib/spree_paypal/engine.rb
spree_paypal-0.1.1 lib/spree_paypal/engine.rb
spree_paypal-0.1.0 lib/spree_paypal/engine.rb