Class: Paypal::InitializerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Paypal::InitializerGenerator
- Defined in:
- lib/generators/paypal/initializer/initializer_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
permalink .source_root ⇒ Object
[View source]
5 6 7 |
# File 'lib/generators/paypal/initializer/initializer_generator.rb', line 5 def self.source_root @source_root ||= File.join(File.dirname(__FILE__), 'templates') end |
Instance Method Details
permalink #copy_conversation_file ⇒ Object
[View source]
9 10 11 |
# File 'lib/generators/paypal/initializer/initializer_generator.rb', line 9 def copy_conversation_file copy_file "paypal.rb", "config/initializers/paypal.rb" end |