Class: Securial::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Securial::Engine
- Defined in:
- lib/securial/engine.rb,
lib/securial/engine_initializers.rb
Overview
Rails engine implementation for the Securial framework.
This class defines the core engine that powers Securial’s integration with Rails applications. It isolates all Securial components within their own namespace to prevent conflicts with host application code and configures generator defaults to ensure consistent code generation.
The engine handles:
-
Namespace isolation to prevent conflicts
-
Configuration of generators for consistent code generation
-
Setting up Securial’s API-only mode for JSON responses
-
Loading initializers for various framework components