Class: Ecm::Contact::NotifyNewContactRequestJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/ecm/contact/notify_new_contact_request_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(contact_request_id) ⇒ Object



5
6
7
8
9
# File 'app/jobs/ecm/contact/notify_new_contact_request_job.rb', line 5

def perform(contact_request_id)
  load_contact_request(contact_request_id)
  deliver
  mark_as_notified
end