Class: Retell::SDK::Unofficial::WebCall

Inherits:
BaseCall show all
Defined in:
lib/retell/sdk/unofficial/web_call.rb

Instance Attribute Summary

Attributes inherited from Base

#changed_attributes, #client

Instance Method Summary collapse

Methods inherited from BaseCall

#agent, #analysis, #id, #status, #type

Methods inherited from Base

#[], #[]=, #each, each_attribute, #fetch, inherited, #keys, #to_h, #values, writeable_attributes

Constructor Details

#initialize(client, raw_response) ⇒ WebCall

Returns a new instance of WebCall.



9
10
11
12
# File 'lib/retell/sdk/unofficial/web_call.rb', line 9

def initialize(client, raw_response)
  super(client, raw_response)
  @access_token = raw_response[:access_token]
end

Instance Method Details

#retrieveObject



14
15
16
# File 'lib/retell/sdk/unofficial/web_call.rb', line 14

def retrieve
  @client.call.retrieve(self)
end