class Tenios::API::RecordCall
Attributes
client[R]
Public Class Methods
new(client)
click to toggle source
# File lib/tenios/api/record_call.rb, line 8 def initialize(client) @client = client end
Public Instance Methods
start(call_uuid:)
click to toggle source
# File lib/tenios/api/record_call.rb, line 12 def start(call_uuid:) client.post("/record-call/start", call_uuid: call_uuid) end
stop(recording_uuid:, call_uuid:)
click to toggle source
# File lib/tenios/api/record_call.rb, line 16 def stop(recording_uuid:, call_uuid:) client.post("/record-call/stop", call_uuid: call_uuid, recording_uuid: recording_uuid) end