struct DeletePasswordResetsJob

Included Modules

Defined in:

jobs/delete_password_resets_job.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new #

Define a default constructor where none is provided. This is necessary because JSON::Serializable defines a #initialize method which means the default constructor is never added by the compiler.

Jobs requires a custom constructor to be present, even if unused, otherwise we get a compile error:

"Error: wrong number of arguments for 'CollectJobsJob.new' (given 0, expected 1)" OR "Error: no overload matches 'CollectJobsJob.new' with type "


Class Method Detail

def self.adapter #

def self.run(id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) #

def self.run_at(time : Time, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) : String | Nil #

def self.run_every(interval : Time::Span, for : Time::Span, from : Time | Nil = nil, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) #

def self.run_every(interval : Time::Span, till : Time | Nil = nil, from : Time | Nil = nil, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) : String | Nil #

def self.run_in(delay : Time::Span, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) : String | Nil #

def self.run_now(id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) : String | Nil #

def self.run_on(schedule : String, for : Time::Span, from : Time = Time.local, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) #

def self.run_on(schedule : String, till : Time | Nil = nil, from : Time = Time.local, id = UUID.random.hexstring, retries = nil, store = nil, force = false, **job_args) : String | Nil #

Instance Method Detail

def after_dequeue(success) #

def after_enqueue(success) #

def after_run(success) #

def before_dequeue #

def before_enqueue #

def before_run #

def run #

[View source]