Class: ChatgptAssistant::RegisterJob

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

Overview

This class is responsible to background the register service

Instance Method Summary collapse

Instance Method Details

#perform(email, password, name, chat_id) ⇒ Object



12
13
14
# File 'lib/chatgpt_assistant/bots/jobs/register_job.rb', line 12

def perform(email, password, name, chat_id)
  RegisterService.new(email, password, name, chat_id).call
end