Updated

app/use_cases/accounts/create / embed_company_site_job.rb

A
8 lines of codes
1 methods
3.4 complexity/method
2 churn
3.35 complexity
0 duplications
class Accounts::Create::EmbedCompanySiteJob < ApplicationJob
  1. Accounts::Create::EmbedCompanySiteJob has no descriptive comment
self.queue_adapter = :good_job def perform(account_id)
  1. Accounts::Create::EmbedCompanySiteJob#perform doesn't depend on instance state (maybe move it to another class?)
account = Account.find(account_id) Accounts::Create::EmbededCompanySite.new(account).call end end