class Bramble::BeginJob
This exists to call `implementation.items` in the background. It might take a long time to fetch, so let's background it.
Then it starts the map-reduce job.
Public Instance Methods
perform(handle, implementation_name, items_options)
click to toggle source
Call the defined `.items(options)` function
# File lib/bramble/begin_job.rb, line 8 def perform(handle, implementation_name, items_options) implementation = implementation_name.constantize all_items = implementation.items(items_options) Bramble::Map.perform(handle, implementation, all_items) end