Class: VoiceML::ConversationsV1ServiceConversationParticipantList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ServiceConversationParticipantList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#participants ⇒ Object
readonly
Returns the value of attribute participants.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ServiceConversationParticipantList
constructor
A new instance of ConversationsV1ServiceConversationParticipantList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ServiceConversationParticipantList
Returns a new instance of ConversationsV1ServiceConversationParticipantList.
391 392 393 394 |
# File 'lib/voiceml/models/conversations_v1.rb', line 391 def initialize(hash = {}) (hash) @participants = (hash['participants'] || []).map { |h| ConversationsV1ServiceConversationParticipant.from_hash(h) } end |
Instance Attribute Details
#participants ⇒ Object (readonly)
Returns the value of attribute participants.
390 391 392 |
# File 'lib/voiceml/models/conversations_v1.rb', line 390 def participants @participants end |