Class: AuthClient::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- AuthClient::InstallGenerator
- Defined in:
- lib/generators/auth_client/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_permission ⇒ Object
13 14 15 |
# File 'lib/generators/auth_client/install_generator.rb', line 13 def copy_file 'permission.rb', 'app/models/permission.rb' end |
#copy_user ⇒ Object
9 10 11 |
# File 'lib/generators/auth_client/install_generator.rb', line 9 def copy_user copy_file 'user.rb', 'app/models/user.rb' end |