Class: InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- InstallGenerator
- Defined in:
- lib/generators/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#setup_initializer ⇒ Object
5 6 7 8 9 10 |
# File 'lib/generators/install/install_generator.rb', line 5 def setup_initializer template 'mse_router_info.yml', 'config/mse_router_info.yml' copy_file 'microservices_engine.rb', 'config/initializers/microservices_engine.rb' generate 'migration', 'create_microservices_engine_connections', 'name:string', 'object:string', 'url:string' end |