Sha256: bbb86fc7f4aef3e01823d23bad9f7116d38d71d6a9cda3c768dd121a2b7494fe
Contents?: true
Size: 488 Bytes
Versions: 10
Compression:
Stored size: 488 Bytes
Contents
# coding: utf-8 # frozen_string_literal: true module Stealth class ScheduledReplyJob < Stealth::Jobs sidekiq_options queue: :stealth_replies, retry: false def perform(service, user_id, flow, state) service_message = ServiceMessage.new(service: service) service_message.sender_id = user_id controller = BotController.new(service_message: service_message) controller.update_session_to(flow: flow, state: state) controller.route end end end
Version data entries
10 entries across 10 versions & 1 rubygems