Class: RiderKick::ScaffoldGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RiderKick::ScaffoldGenerator
- Defined in:
- lib/generators/rider_kick/scaffold_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_use_case ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/generators/rider_kick/scaffold_generator.rb', line 9 def generate_use_case validation! setup_variables generate_files('create') generate_files('update') generate_files('list') generate_files('destroy') generate_files('fetch', '_by_id') copy_builder_and_entity_files end |