Class: InformUserJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- InformUserJob
- Defined in:
- app/jobs/inform_user_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
-
#perform(current_user, email, folder, shared_files, customer, share) ⇒ Object
deliver electronic message from current_user to specified email
email can be registered in the application or not
if not, the message will include the new registration link
the message only concerns a specific folder which actually can be considered as a deliverable terminal
.
Instance Method Details
#perform(current_user, email, folder, shared_files, customer, share) ⇒ Object
deliver electronic message from current_user to specified email
email can be registered in the application or not
if not, the message will include the new registration link
the message only concerns a specific folder which actually can be considered as a deliverable terminal
12 13 14 |
# File 'app/jobs/inform_user_job.rb', line 12 def perform(current_user,email,folder,shared_files,customer,share) UserMailer.inform_user(current_user,email,folder,shared_files,customer,share).deliver_now end |