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



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

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