Sha256: ede42903170e5d39116b1d5de6c0304e5ad6416557332c0bf0c49f9d6aceda93

Contents?: true

Size: 175 Bytes

Versions: 6

Compression:

Stored size: 175 Bytes

Contents

# vim:fileencoding=utf-8

class SendEmailJob
  @queue = :send_emails

  def self.perform(_user_id)
    # ... do whatever you have to do to send an email to the user
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
resque-scheduler-4.2.1 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-4.2.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-4.1.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-4.0.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-3.1.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-3.0.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb