Class: WhatsAppCloudApi::Types::CallConnectResponse
- Inherits:
-
Object
- Object
- WhatsAppCloudApi::Types::CallConnectResponse
- Defined in:
- lib/whatsapp_cloud_api/types.rb
Instance Attribute Summary collapse
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#messaging_product ⇒ Object
readonly
Returns the value of attribute messaging_product.
Instance Method Summary collapse
-
#initialize(data) ⇒ CallConnectResponse
constructor
A new instance of CallConnectResponse.
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
#calls ⇒ Object (readonly)
Returns the value of attribute calls.
210 211 212 |
# File 'lib/whatsapp_cloud_api/types.rb', line 210 def calls @calls end |
#messaging_product ⇒ Object (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 |