Class: Translated::UpdateRichTranslationsJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/translated/update_rich_translations_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(record, attribute_name) ⇒ Object



7
8
9
# File 'app/jobs/translated/update_rich_translations_job.rb', line 7

def perform(record, attribute_name)
  record.public_send(:"generate_translations_for_#{attribute_name}")
end