Class: Pu::Rodauth::CustomerGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
PlutoniumGenerators::Concerns::Logger
Defined in:
lib/generators/pu/rodauth/customer_generator.rb

Instance Method Summary collapse

Methods included from PlutoniumGenerators::Concerns::Logger

#debug, #error, #exception, #info, #success, #warn

Instance Method Details

#startObject



24
25
26
27
28
29
30
# File 'lib/generators/pu/rodauth/customer_generator.rb', line 24

def start
  
  create_entity_model_and_membership
  configure_model_relationships
rescue => e
  exception "#{self.class} failed:", e
end