Class: MainsmsApi::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_config_fileObject



6
7
8
9
# File 'lib/generators/mainsms_api/install/install_generator.rb', line 6

def copy_config_file
  copy_file 'mainsms.yml', 'config/mainsms.yml'
  copy_file 'mainsms_api.rb', 'config/initializers/mainsms_api.rb'
end