Sha256: 038707a692323bf039a72b26a7cf708e75924e3afdc713c0a6a7883ca9c9117d

Contents?: true

Size: 306 Bytes

Versions: 20

Compression:

Stored size: 306 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 "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-1.3.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.2.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.2.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.2.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.1.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.1.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.1.0 lib/generators/stripe/install_generator.rb
stripe-rails-1.0.2 lib/generators/stripe/install_generator.rb
stripe-rails-1.0.1 lib/generators/stripe/install_generator.rb
stripe-rails-1.0.0 lib/generators/stripe/install_generator.rb
stripe-rails-0.4.1 lib/generators/stripe/install_generator.rb
stripe-rails-0.4.0 lib/generators/stripe/install_generator.rb
stripe-rails-0.3.1 lib/generators/stripe/install_generator.rb
stripe-rails-0.3.0 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.6 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.5 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.4 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.3 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.2 lib/generators/stripe/install_generator.rb
stripe-rails-0.2.1 lib/generators/stripe/install_generator.rb