Class: KafkaConsumer::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- KafkaConsumer::Generators::InstallGenerator
show all
- Includes:
- Concerns::Configuration
- Defined in:
- lib/generators/kafka_consumer/install/install_generator.rb
Constant Summary
Concerns::Configuration::CONFIG_PATH
Instance Method Summary
collapse
#check_config_file!
Instance Method Details
#create_kafka_consumer_yml ⇒ Object
17
18
19
|
# File 'lib/generators/kafka_consumer/install/install_generator.rb', line 17
def create_kafka_consumer_yml
copy_file "kafka_consumer.yml", CONFIG_PATH
end
|
#create_kafkafile ⇒ Object
13
14
15
|
# File 'lib/generators/kafka_consumer/install/install_generator.rb', line 13
def create_kafkafile
copy_file "Kafkafile", "./Kafkafile"
end
|