Class: DeviantWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/deviant/worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(data) ⇒ Object



4
5
6
7
8
# File 'lib/deviant/worker.rb', line 4

def perform(data)
  Tire.index Deviant.options[:name] do
    store(data)
  end
end