2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-01 10:26:18 -05:00
|
|
|
class DownloadBackupMailer < ActionMailer::Base
|
|
|
|
include Email::BuildEmailHelper
|
|
|
|
|
|
|
|
def send_email(to_address, backup_file_path)
|
|
|
|
build_email(to_address, template: "download_backup_mailer", backup_file_path: backup_file_path)
|
|
|
|
end
|
|
|
|
end
|