Class: Ogone::ConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Ogone::ConfigGenerator
- Defined in:
- lib/generators/ogone/config_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/ogone/config_generator.rb', line 10 def copy_files say_status "", "time to put configuration files in place... \n", :blue copy_file "ogone.yml", "config/ogone.yml" copy_file "ogone.rb", "config/initializers/ogone.rb" end |
#print_manual ⇒ Object
16 17 18 19 20 |
# File 'lib/generators/ogone/config_generator.rb', line 16 def print_manual say_status "OK", "...configuration files are in place.", :green say "\nNow it's time to change the example documentation in 'config/ogone.yml' to your ogone details.", :bold say "More information can be found on https://github.com/robinhoudmeyers/ogone-rails or http://www.ogone.com.\n" end |