add geo info and do refractor on workers

This commit is contained in:
2021-04-29 20:44:21 +02:00
parent f7799bb514
commit c5190b48f8
32 changed files with 241 additions and 205 deletions

View File

@@ -1,8 +1,6 @@
# frozen_string_literal: true
class WowCharacterMediaWorker
include Sidekiq::Worker
class WowCharacterMediaWorker < WowSidekiqWorker
def perform(wow_character_id)
return unless (wow_character = WowCharacter.where(character_id: wow_character_id).first)