Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

252 B
Raw Blame
class Channels::Whatsapp::HealthSyncJob < ApplicationJob
  queue_as :low

  def perform(whatsapp_channel)
    Whatsapp::HealthService.new(whatsapp_channel).sync_health_status!
  rescue Whatsapp::HealthService::ApiError, ArgumentError
    nil
  end
end