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.104 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.103 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.102 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.101 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.100 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.99 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.98 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.97 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.96 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.95 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.94 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.93 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.92 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.91 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.90 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.89 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.88 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.87 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.86 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.85 app/mailers/renalware/ukrdc/summary_mailer.rb