Class: Chewy::Strategy::ResqueUrgent

Inherits:
ResqueBase
  • Object
show all
Defined in:
lib/chewy/strategy/resque_urgent.rb

Instance Method Summary collapse

Methods inherited from ResqueBase

#enqueue

Instance Method Details

#update(type, objects, options = {}) ⇒ Object



4
5
6
7
# File 'lib/chewy/strategy/resque_urgent.rb', line 4

def update(type, objects, options = {})
  ids = type.adapter.identify(objects)
  enqueue(type, ids)
end