Class: Retell::SDK::Unofficial::WebCall
- Defined in:
- lib/retell/sdk/unofficial/web_call.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(client, raw_response) ⇒ WebCall
constructor
A new instance of WebCall.
- #retrieve ⇒ Object
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
#retrieve ⇒ Object
14 15 16 |
# File 'lib/retell/sdk/unofficial/web_call.rb', line 14 def retrieve @client.call.retrieve(self) end |