Sha256: c8550480ed1c6540d19b4ff657b16ed7444e4310dc6e9f68618369a714429f18

Contents?: true

Size: 174 Bytes

Versions: 7

Compression:

Stored size: 174 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

7 entries across 7 versions & 1 rubygems

Version Path
resque-scheduler-2.5.5 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.5.4 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.5.3 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.5.2 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.5.1 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.5.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb
resque-scheduler-2.4.0 examples/dynamic-scheduling/app/jobs/send_email_job.rb