Module: Whatsapp::BusinessPhoneNumber::Account::Transport

Includes:
PathBuilding
Defined in:
lib/ruby/whatsapp/business_phone_number/account/transport.rb

Overview

The one piece shared by Get and Update: both address the WABA node itself, differing only in HTTP verb and body. Extended (not included) since those classes are class-method-only.

Deliberately separate from Transport, which this shadows by lexical scope inside Whatsapp::BusinessPhoneNumber::Account. That one guards phone_id and always appends an edge segment; this addresses waba_id and no edge at all. Both delegate the guard and its wording to PathBuilding, so the method names are now the whole of the difference — node_path here, edge_path there, so the two can never be confused at a call site.