Class: Langsmith::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- Langsmith::Railtie
- Defined in:
- lib/langsmith/railtie.rb
Overview
Rails integration for automatic configuration and lifecycle management.
When Rails is detected, this Railtie will:
- Automatically configure Langsmith from Rails credentials or environment
- Register shutdown hooks to flush traces before the application exits
- Provide a generator for creating an initializer