Sha256: b44f3d93c52742d52d659acdae92f2a6633e0ee1eb475619afc9b29c783071da

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

module Shoppe
  module Stripe
    class Engine < Rails::Engine
      
      initializer "shoppe.stripe.initializer" do
        Shoppe::Stripe.setup
        ActiveSupport.on_load(:action_view) do
          require 'shoppe/stripe/view_helpers'
          ActionView::Base.send :include, Shoppe::Stripe::ViewHelpers
        end
      end
      
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppe-stripe-1.2.1 lib/shoppe/stripe/engine.rb