class MultipleMan::ModelPublisherJob
Public Instance Methods
perform(record_type, ids, options, operation)
click to toggle source
# File lib/multiple_man_sidekiq/async_model_publisher.rb, line 34 def perform(record_type, ids, options, operation) records = Kernel.const_get(record_type).where(id: ids) ModelPublisher.new(options).publish(records, operation) end