Class: Retell::SDK::Unofficial::CallList

Inherits:
BaseList
  • Object
show all
Defined in:
lib/retell/sdk/unofficial/call_list.rb

Instance Attribute Summary collapse

Attributes inherited from BaseList

#items

Instance Method Summary collapse

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_keyObject (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