Sha256: 90dde0d6a51bb4709c2d3a5bff7d85ff86adf1a05a6c24a3f3b56f5f5ff3738f

Contents?: true

Size: 367 Bytes

Versions: 20

Compression:

Stored size: 367 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

20 entries across 20 versions & 1 rubygems

Version Path
stripe-rails-2.1.0 lib/generators/stripe/install_generator.rb
stripe-rails-2.0.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.10.2 lib/generators/stripe/install_generator.rb
stripe-rails-2.0.0.pre lib/generators/stripe/install_generator.rb
stripe-rails-1.10.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.10.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.9.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.9.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.8.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.8.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.8.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.7.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.7.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.7.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.6.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.6.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.5.5 lib/generators/stripe/install_generator.rb
stripe-rails-1.5.4 lib/generators/stripe/install_generator.rb
stripe-rails-1.5.3 lib/generators/stripe/install_generator.rb
stripe-rails-1.5.2 lib/generators/stripe/install_generator.rb