Class: GosquaredRails::Generators::ConfigGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/gosquared_rails/config/config_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject


10
11
12
13
# File 'lib/rails/generators/gosquared_rails/config/config_generator.rb', line 10

def copy_initializer_file
  @site_token = site_token
  template("gosquared_rails.rb.erb", File.join("config/initializers/gosquared_rails.rb"))
end