Module: CommandTower::Services::Me::PushoverProductGate

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

Overview

Product gate for Pushover-dependent Me/Account endpoint lifecycle HTTP. Matches host Capabilities::Pushover.enabled? (pushover_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/pushover_product_gate.rb', line 12

def enabled?
  CommandTower::Messaging::ChannelDetectors.pushover_configured?
end