Class: Adtraction::Api::Generators::InstallGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
Rails::Generators::ResourceHelpers
Defined in:
lib/generators/adtraction/api/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



15
16
17
# File 'lib/generators/adtraction/api/install_generator.rb', line 15

def copy_initializer_file
  copy_file "config.rb", "config/initializers/adtraction_api.rb"
end