Class: VoiceML::ConversationsV1ServiceParticipantConversationList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ServiceParticipantConversationList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#conversations ⇒ Object
readonly
Returns the value of attribute conversations.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ServiceParticipantConversationList
constructor
A new instance of ConversationsV1ServiceParticipantConversationList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ServiceParticipantConversationList
Returns a new instance of ConversationsV1ServiceParticipantConversationList.
475 476 477 478 |
# File 'lib/voiceml/models/conversations_v1.rb', line 475 def initialize(hash = {}) (hash) @conversations = (hash['conversations'] || []).map { |h| ConversationsV1ServiceParticipantConversation.from_hash(h) } end |
Instance Attribute Details
#conversations ⇒ Object (readonly)
Returns the value of attribute conversations.
474 475 476 |
# File 'lib/voiceml/models/conversations_v1.rb', line 474 def conversations @conversations end |