Class: VoiceML::ConversationsV1ParticipantConversationList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ParticipantConversationList
- 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 = {}) ⇒ ConversationsV1ParticipantConversationList
constructor
A new instance of ConversationsV1ParticipantConversationList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ParticipantConversationList
Returns a new instance of ConversationsV1ParticipantConversationList.
258 259 260 261 |
# File 'lib/voiceml/models/conversations_v1.rb', line 258 def initialize(hash = {}) (hash) @conversations = (hash['conversations'] || []).map { |h| ConversationsV1ParticipantConversation.from_hash(h) } end |
Instance Attribute Details
#conversations ⇒ Object (readonly)
Returns the value of attribute conversations.
257 258 259 |
# File 'lib/voiceml/models/conversations_v1.rb', line 257 def conversations @conversations end |