Method: CurationConcerns::Workflow::NotificationGenerator#initialize
- Defined in:
- app/services/curation_concerns/workflow/notification_generator.rb
#initialize(workflow:, notification_configuration:) ⇒ NotificationGenerator
Returns a new instance of NotificationGenerator.
16 17 18 19 20 |
# File 'app/services/curation_concerns/workflow/notification_generator.rb', line 16 def initialize(workflow:, notification_configuration:) self.workflow = workflow self.notification_configuration = notification_configuration assign_scope! end |