class Quebert::Backend::InProcess

Drops jobs on an array in-process.

Public Instance Methods

put(job, *args) click to toggle source
# File lib/quebert/backend/in_process.rb, line 5
def put(job, *args)
  unshift job.to_json
end
reserve() click to toggle source
# File lib/quebert/backend/in_process.rb, line 9
def reserve
  json = pop and Controller::Base.new(Job.from_json(json))
end