Class: VoiceML::CallList
- Inherits:
-
Object
- Object
- VoiceML::CallList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/calls.rb
Overview
Paginated ‘GET /Calls` response.
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ CallList
constructor
A new instance of CallList.
Methods included from Pageable
Constructor Details
Instance Attribute Details
#calls ⇒ Object (readonly)
Returns the value of attribute calls.
37 38 39 |
# File 'lib/voiceml/models/calls.rb', line 37 def calls @calls end |
Class Method Details
.from_hash(hash) ⇒ Object
44 45 46 |
# File 'lib/voiceml/models/calls.rb', line 44 def self.from_hash(hash) new(hash || {}) end |