Class: Sunspot::Queue::Resque::RemovalJob
- Inherits:
-
Object
- Object
- Sunspot::Queue::Resque::RemovalJob
show all
- Extended by:
- Helpers
- Defined in:
- lib/sunspot/queue/resque/removal_job.rb
Class Method Summary
collapse
Methods included from Helpers
constantize, without_proxy
Class Method Details
11
12
13
14
15
|
# File 'lib/sunspot/queue/resque/removal_job.rb', line 11
def self.perform(klass, id)
without_proxy do
::Sunspot.remove_by_id(klass, id)
end
end
|
.queue ⇒ Object
7
8
9
|
# File 'lib/sunspot/queue/resque/removal_job.rb', line 7
def self.queue
:sunspot
end
|