Class: VoiceML::QueueList
- Inherits:
-
Object
- Object
- VoiceML::QueueList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/queues.rb
Overview
Paginated ‘GET /Queues` response.
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#queues ⇒ Object
readonly
Returns the value of attribute queues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ QueueList
constructor
A new instance of QueueList.
Methods included from Pageable
Constructor Details
Instance Attribute Details
#queues ⇒ Object (readonly)
Returns the value of attribute queues.
33 34 35 |
# File 'lib/voiceml/models/queues.rb', line 33 def queues @queues end |
Class Method Details
.from_hash(hash) ⇒ Object
40 41 42 |
# File 'lib/voiceml/models/queues.rb', line 40 def self.from_hash(hash) new(hash || {}) end |