Class: VoiceML::ConversationsV1ServiceConversationMessageReceiptList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ServiceConversationMessageReceiptList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#delivery_receipts ⇒ Object
readonly
Returns the value of attribute delivery_receipts.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ServiceConversationMessageReceiptList
constructor
A new instance of ConversationsV1ServiceConversationMessageReceiptList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ServiceConversationMessageReceiptList
Returns a new instance of ConversationsV1ServiceConversationMessageReceiptList.
414 415 416 417 |
# File 'lib/voiceml/models/conversations_v1.rb', line 414 def initialize(hash = {}) (hash) @delivery_receipts = (hash['delivery_receipts'] || []).map { |h| ConversationsV1ServiceConversationMessageReceipt.from_hash(h) } end |
Instance Attribute Details
#delivery_receipts ⇒ Object (readonly)
Returns the value of attribute delivery_receipts.
413 414 415 |
# File 'lib/voiceml/models/conversations_v1.rb', line 413 def delivery_receipts @delivery_receipts end |