Class: FlippRubyKafka::Generators::SchemaValidationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- FlippRubyKafka::Generators::SchemaValidationGenerator
- Defined in:
- lib/generators/flipp_ruby_kafka/schema_validation/schema_validation_generator.rb
Overview
Generate the database backend migration.
Class Method Summary collapse
-
.namespace ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#generate ⇒ Object
Main method to create all the necessary files.
Class Method Details
.namespace ⇒ Object
:nodoc:
13 14 15 |
# File 'lib/generators/flipp_ruby_kafka/schema_validation/schema_validation_generator.rb', line 13 def self.namespace 'flipp_ruby_kafka:schema_validation' end |
Instance Method Details
#generate ⇒ Object
Main method to create all the necessary files
18 19 20 |
# File 'lib/generators/flipp_ruby_kafka/schema_validation/schema_validation_generator.rb', line 18 def generate FlippRubyKafka::Utils::PlatformSchemaValidation.new(base_path: Rails.root).run end |