Class: WhatsAppCloudApi::Types::MessageInfo
- Inherits:
-
Object
- Object
- WhatsAppCloudApi::Types::MessageInfo
- Defined in:
- lib/whatsapp_cloud_api/types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#message_status ⇒ Object
readonly
Returns the value of attribute message_status.
Instance Method Summary collapse
-
#initialize(data) ⇒ MessageInfo
constructor
A new instance of MessageInfo.
Constructor Details
#initialize(data) ⇒ MessageInfo
Returns a new instance of MessageInfo.
43 44 45 46 |
# File 'lib/whatsapp_cloud_api/types.rb', line 43 def initialize(data) @id = data['id'] = data['message_status'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
41 42 43 |
# File 'lib/whatsapp_cloud_api/types.rb', line 41 def id @id end |
#message_status ⇒ Object (readonly)
Returns the value of attribute message_status.
41 42 43 |
# File 'lib/whatsapp_cloud_api/types.rb', line 41 def end |