Class: JwtKeeper::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/jwt_keeper/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_filesObject

Copies the default config

Examples:

Install

rails generate keeper:install


11
12
13
# File 'lib/generators/jwt_keeper/install/install_generator.rb', line 11

def copy_files
  copy_file 'jwt_keeper.rb', 'config/initializers/jwt_keeper.rb'
end