Class: SurveyClientJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/survey_client_job.rb

Overview

main class for jobs focusing on mel delivery to public users, on the basis of a shared folder

Instance Method Summary collapse

Instance Method Details

#perform(survey_id) ⇒ Object

deliver electronic message from a specific survey



9
10
11
# File 'app/jobs/survey_client_job.rb', line 9

def perform(survey_id)
  UserMailer.send_free_survey(survey_id).deliver_now
end