Class: Majestic::Api::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



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

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