Sha256: f70f983ad9353ac2a551570f49d031781f58b38d2c45751b10fe93f410cb104c
Contents?: true
Size: 325 Bytes
Versions: 5
Compression:
Stored size: 325 Bytes
Contents
module UNotifier module Provider class ActionMailer def initialize(mailer, sending_method: :new_notification) @mailer = mailer @sending_method = sending_method end def notify(notification) @mailer.public_send(@sending_method, notification).deliver end end end end
Version data entries
5 entries across 5 versions & 1 rubygems