master
class ImportFeedWorker include Sidekiq::Worker def perform(feed_id) feed = Feed.find(feed_id) feed.import! end end