Class: BaseGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- BaseGenerator
- Defined in:
- lib/generators/base_generator.rb
Direct Known Subclasses
DrySerialization::Blueprinter::InstallGenerator, DrySerialization::JsonapiSerializer::InstallGenerator
Constant Summary collapse
- API_CONTROLLER_PATH =
'app/controllers/api_controller.rb'.freeze
- SERIALIZERS =
{ ams: 'ActiveModelSerializers', blueprinter: 'Blueprinter', jsonapi_serializer: 'JsonapiSerializer' }
Class Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
11 12 13 |
# File 'lib/generators/base_generator.rb', line 11 def self.exit_on_failure? true end |