Class: KafkaProducer::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Concerns::Configuration
Defined in:
lib/generators/kafka_producer/install/install_generator.rb

Constant Summary

Constants included from Concerns::Configuration

Concerns::Configuration::CONFIG_PATH

Instance Method Summary collapse

Methods included from Concerns::Configuration

#check_config_file!

Instance Method Details

#create_kafka_producer_ymlObject



13
14
15
# File 'lib/generators/kafka_producer/install/install_generator.rb', line 13

def create_kafka_producer_yml
  copy_file "kafka_producer.yml", CONFIG_PATH
end