Class: MetaSms::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/meta_sms/install_generator.rb

Overview

This creates MetaSms initializer for your application It will copy the config file template in config/initializers/meta_sms.rb

Author:

  • Shobhit Dixit

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



16
17
18
# File 'lib/generators/meta_sms/install_generator.rb', line 16

def copy_initializer
  template "meta_sms_initializer.rb", "config/initializers/meta_sms.rb"
end