Class: Sipity::Mailers::EmailNotifier

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/sipity/mailers/email_notifier.rb

Overview

This class is responsible for creating/delivering email

Instance Method Summary collapse

Instance Method Details

#confirmation_of_entity_submitted_for_review(entity:, to:, cc: [], bcc: []) ⇒ Object


9
10
11
12
# File 'app/mailers/sipity/mailers/email_notifier.rb', line 9

def (entity:, to:, cc: [], bcc: [])
  @entity = entity
  mail(to: to, cc: cc, bcc: bcc)
end