Class: Mailgun::Tracking::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Mailgun::Tracking::InstallGenerator
- Defined in:
- lib/generators/mailgun/tracking/install_generator.rb
Overview
Creates the Mailgun Tracking initializer file for Rails apps.
Instance Method Summary collapse
-
#copy_initializer_file ⇒ Object
Copies the initialization file.
Instance Method Details
#copy_initializer_file ⇒ Object
Copies the initialization file.
16 17 18 |
# File 'lib/generators/mailgun/tracking/install_generator.rb', line 16 def copy_initializer_file template('mailgun_tracking.rb.erb', 'config/initializers/mailgun_tracking.rb') end |