Module: Whatsapp::PathBuilding
- Included in:
- BusinessPhoneNumber::Account::Transport, BusinessPhoneNumber::Transport, MessageTemplates, SubscribedApp::Transport
- Defined in:
- lib/ruby/whatsapp/path_building.rb
Overview
The ID guard and path build shared by every WABA- or phone-number-scoped feature.
Each feature keeps its own transport with a named method — SubscribedApp::Transport's
edge_path, BusinessPhoneNumber::Account::Transport's node_path — since those
names are what keep an edge and a node from being confused at a call site. This holds only
the part that was identical across all of them: refusing to address an unconfigured ID, and
phrasing that refusal the same way every time.