Class: InfaktApiClient::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- InfaktApiClient::Generators::InstallGenerator
- Defined in:
- lib/generators/infakt_api_client/install_generator.rb
Overview
Generator that installs InfaktApiClient initializer into a Rails application
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
9 10 11 |
# File 'lib/generators/infakt_api_client/install_generator.rb', line 9 def copy_initializer template "initializer.rb", "config/initializers/infakt_api_client.rb" end |