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