Sha256: 4d9b63d24416d094ffd475ba5bf89b387507227ba4c37774c36139c9ed7139a9

Contents?: true

Size: 469 Bytes

Versions: 93

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/reporting"

module Renalware
  module UKRDC
    class SummaryMailer < ApplicationMailer
      def export_summary(to: "dev@airslie.com", **args)
        mail(
          to: Array(to),
          subject: "UKRDC export summary #{I18n.l(Time.zone.today)}"
        ) do |format|
          format.text { render(locals: args) }
          format.html { render(locals: args) }
        end
      end
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
renalware-core-2.0.84 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.83 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.82 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.81 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.80 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.79 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.78 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.77 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.76 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.75 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.74 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.73 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.72 app/mailers/renalware/ukrdc/summary_mailer.rb