Method: CurationConcerns::Workflow::NotificationGenerator#call

Defined in:
app/services/curation_concerns/workflow/notification_generator.rb

#callObject



22
23
24
25
26
27
# File 'app/services/curation_concerns/workflow/notification_generator.rb', line 22

def call
  notification = persist_notification
  assign_recipients_to(notification: notification)
  assign_scope_and_reason_to(notification: notification)
  notification
end