Module: CommandTower::Services::Me::SmsProductGate
- Defined in:
- app/services/command_tower/services/me/sms_product_gate.rb
Overview
Product gate for SMS-dependent Me/Account phone lifecycle HTTP. Matches Me::Capabilities#sms_enabled? / host Capabilities::Sms.enabled?: Messaging notification SMS configured ∧ Identity OTP SMS ready. Does not invent route constraints — callers return 503 when disabled.
Class Method Summary collapse
Class Method Details
.enabled? ⇒ Boolean
13 14 15 |
# File 'app/services/command_tower/services/me/sms_product_gate.rb', line 13 def enabled? CommandTower::Messaging::ChannelDetectors.sms_product_ready? end |