Class: Retell::SDK::Unofficial::CallList
- Defined in:
- lib/retell/sdk/unofficial/call_list.rb
Instance Attribute Summary collapse
-
#pagination_key ⇒ Object
readonly
Returns the value of attribute pagination_key.
Attributes inherited from BaseList
Instance Method Summary collapse
-
#initialize(raw_response) ⇒ CallList
constructor
A new instance of CallList.
Methods inherited from BaseList
#[], #each, #empty?, #first, #last, #length, #to_a
Constructor Details
#initialize(raw_response) ⇒ CallList
Returns a new instance of CallList.
7 8 9 10 |
# File 'lib/retell/sdk/unofficial/call_list.rb', line 7 def initialize(raw_response) super(:calls, raw_response) @pagination_key = raw_response[:pagination_key] end |
Instance Attribute Details
#pagination_key ⇒ Object (readonly)
Returns the value of attribute pagination_key.
5 6 7 |
# File 'lib/retell/sdk/unofficial/call_list.rb', line 5 def pagination_key @pagination_key end |