Module: CommandTower::Services::Me::PushProductGate

Defined in:
app/services/command_tower/services/me/push_product_gate.rb

Overview

Product gate for Expo push Me/Account endpoint lifecycle HTTP. Matches ChannelDetectors.configured?("push") / expo_configured?. Does not invent route constraints — callers return 503 when disabled.

Class Method Summary collapse

Class Method Details

.enabled? ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/services/command_tower/services/me/push_product_gate.rb', line 12

def enabled?
  CommandTower::Messaging::ChannelDetectors.configured?("push")
end