Method: Que::Job.run

Defined in:
lib/que/job.rb

.run(*args) ⇒ Object



108
109
110
111
112
113
114
115
# File 'lib/que/job.rb', line 108

def run(*args)
  # Make sure things behave the same as they would have with a round-trip
  # to the DB.
  args = Que.deserialize_json(Que.serialize_json(args))

  # Should not fail if there's no DB connection.
  _run_attrs(args: args)
end