Class: Paypal::Sdk::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/paypal/sdk/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject


7
8
9
# File 'lib/generators/paypal/sdk/install_generator.rb', line 7

def copy_config_file
  copy_file "paypal.yml", "config/paypal.yml"
end

#copy_initializer_fileObject


11
12
13
# File 'lib/generators/paypal/sdk/install_generator.rb', line 11

def copy_initializer_file
  copy_file "paypal.rb",  "config/initializers/paypal.rb"
end