Class: Pu::Saas::ApiClientGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Includes:
PlutoniumGenerators::Generator
Defined in:
lib/generators/pu/saas/api_client_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

#read_config, #write_config

Instance Method Details

#startObject



24
25
26
27
28
29
30
31
32
# File 'lib/generators/pu/saas/api_client_generator.rb', line 24

def start
  
  
  generate_membership if entity?
  create_interactions
  create_rake_task
rescue => e
  exception "#{self.class} failed:", e
end