Class: ActiveRpc::Rpc::Interceptors::LocaleInterceptor
- Inherits:
-
Gruf::Interceptors::ServerInterceptor
- Object
- Gruf::Interceptors::ServerInterceptor
- ActiveRpc::Rpc::Interceptors::LocaleInterceptor
- Defined in:
- lib/active_rpc/rpc/interceptors/locale_interceptor.rb
Overview
Locale interceptor that automatically sets I18n.locale from gRPC metadata This runs before every gRPC request, ensuring proper locale context
Instance Method Summary collapse
Instance Method Details
#call(&block) ⇒ Object
9 10 11 12 |
# File 'lib/active_rpc/rpc/interceptors/locale_interceptor.rb', line 9 def call(&block) yield end |