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