Class: StandardLedger::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/standard_ledger/engine.rb

Overview

Boot hook for Rails apps. The engine registers no routes and provides no tables — its only role is to ensure the gem’s notification subscribers (if any are registered by the host) are wired up after the host’s initializers have finished running.

We hook ‘after: :load_config_initializers` so any host-side `StandardLedger.configure` block in `config/initializers/*` has finished before subscribers are attached.