Class: VoiceML::ConversationsV1ServiceUserList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ServiceUserList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ServiceUserList
constructor
A new instance of ConversationsV1ServiceUserList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ServiceUserList
Returns a new instance of ConversationsV1ServiceUserList.
543 544 545 546 |
# File 'lib/voiceml/models/conversations_v1.rb', line 543 def initialize(hash = {}) (hash) @users = (hash['users'] || []).map { |h| ConversationsV1ServiceUser.from_hash(h) } end |
Instance Attribute Details
#users ⇒ Object (readonly)
Returns the value of attribute users.
542 543 544 |
# File 'lib/voiceml/models/conversations_v1.rb', line 542 def users @users end |