Module: Dio::Rails::Model
- Extended by:
- ActiveSupport::Concern
- Includes:
- Dio.use(:default)
- Defined in:
- lib/dio/rails/model.rb
Overview
Dio::Rails::Model enables to inject dependencies to Rails models. Internally, this just add a ‘after_initialize` that injects dependencies.