Class: WhatsAppCloudApi::Types::CallConnectResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/whatsapp_cloud_api/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ CallConnectResponse

Returns a new instance of CallConnectResponse.



212
213
214
215
# File 'lib/whatsapp_cloud_api/types.rb', line 212

def initialize(data)
  @messaging_product = data['messaging_product']
  @calls = data['calls'] || []
end

Instance Attribute Details

#callsObject (readonly)

Returns the value of attribute calls.



210
211
212
# File 'lib/whatsapp_cloud_api/types.rb', line 210

def calls
  @calls
end

#messaging_productObject (readonly)

Returns the value of attribute messaging_product.



210
211
212
# File 'lib/whatsapp_cloud_api/types.rb', line 210

def messaging_product
  @messaging_product
end