Updated

app/use_cases/accounts/contacts/events / woofbot_worker.rb

A
10 lines of codes
1 methods
3.4 complexity/method
3 churn
3.35 complexity
0 duplications
# frozen_string_literal: true class Accounts::Contacts::Events::WoofbotWorker
  1. Accounts::Contacts::Events::WoofbotWorker has no descriptive comment
include Sidekiq::Worker def perform(event_id)
  1. Accounts::Contacts::Events::WoofbotWorker#perform doesn't depend on instance state (maybe move it to another class?)
event = Event.find(event_id) Accounts::Contacts::Events::Woofbot.new(event).call end end