Class: Pu::Saas::SetupGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pu::Saas::SetupGenerator
- Includes:
- PlutoniumGenerators::Generator
- Defined in:
- lib/generators/pu/saas/setup_generator.rb
Instance Method Summary collapse
Methods included from PlutoniumGenerators::Generator
derive_association_name, find_shared_namespace, included
Methods included from PlutoniumGenerators::Concerns::Logger
#debug, #error, #exception, #info, #success, #warn
Methods included from PlutoniumGenerators::Concerns::Config
Instance Method Details
#start ⇒ Object
46 47 48 49 50 51 52 53 54 |
# File 'lib/generators/pu/saas/setup_generator.rb', line 46 def start ensure_rodauth_installed generate_user generate_entity unless [:skip_entity] generate_membership unless [:skip_membership] generate_api_client if [:api_client].present? rescue => e exception "#{self.class} failed:", e end |