Method: Updater::ORM::ClassMethods#for

Defined in:
lib/updater/orm/orm.rb

#for(mytarget, myfinder, myfinder_args, myname = nil) ⇒ Object

Optional, but strongly recomended.

For any datastore that permits, return and Array of all delayed, chained, and current but not locked jobs that reference mytarget, myfinder, and myfinder_args, that is they clearly have the spesified Target. Optionally, limit the result to return the first job that also has a name value of myname. The name value is spesified as unique per target so the which record is returned in the case that multiple jobs fro the same target share the same name is undefined.



244
245
246
# File 'lib/updater/orm/orm.rb', line 244

def for(mytarget, myfinder, myfinder_args, myname=nil)
  NotImplementedError
end