Class: Elastic::Railties::Jobs::IndexingJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Elastic::Railties::Jobs::IndexingJob
- Defined in:
- lib/elastic/railties/jobs/indexing_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(_type, _document) ⇒ Object
3 4 5 |
# File 'lib/elastic/railties/jobs/indexing_job.rb', line 3 def perform(_type, _document) _type.constantize.connector.index _document end |