Class: ChatgptAssistant::VoiceConnectJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/chatgpt_assistant/bots/jobs/voice_connect_job.rb

Overview

This class is responsible to background the voice connect service

Instance Method Summary collapse

Instance Method Details

#perform(channel_id) ⇒ Object



10
11
12
# File 'lib/chatgpt_assistant/bots/jobs/voice_connect_job.rb', line 10

def perform(channel_id)
  VoiceConnectService.new(channel_id).call
end