Sha256: dc04042c96397ecc7c1c604891e3fb6c64e0493757aada265f7d1b8d9ffc5992

Contents?: true

Size: 365 Bytes

Versions: 5

Compression:

Stored size: 365 Bytes

Contents

module Stripe
  class InstallGenerator < ::Rails::Generators::Base
    source_root File.expand_path("../../templates", __FILE__)

    desc "copy plans.rb"
    def copy_plans_file
      copy_file "products.rb", "config/stripe/products.rb"
      copy_file "plans.rb", "config/stripe/plans.rb"
      copy_file "coupons.rb", "config/stripe/coupons.rb"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stripe-rails-1.5.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.5.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.4.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.4.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.4.0 lib/generators/stripe/install_generator.rb