Module: Whatsapp::SubscribedApp::Response

Defined in:
lib/ruby/whatsapp/subscribed_app/response.rb,
lib/ruby/whatsapp/subscribed_app/response/app.rb,
lib/ruby/whatsapp/subscribed_app/response/collection.rb,
lib/ruby/whatsapp/subscribed_app/response/subscription.rb,
lib/ruby/whatsapp/subscribed_app/response/unsubscription.rb

Overview

Deserializers for the responses of the subscribed_apps edge.

Three response shapes, one per action, so a namespace of small classes rather than a single one with optional fields:

{Collection}     `{data}`            List
{Subscription}   `{success, data}`   Subscribe
{Unsubscription} `{success}`         Unsubscribe

Every class follows the gem's .deserialize(data) convention and tolerates a nil or partial payload, so a field Meta stops sending cannot raise.

Defined Under Namespace

Classes: App, Collection, Subscription, Unsubscription