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.1.1 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.1.0 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.167 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.166 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.165 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.164 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.163 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.162 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.161 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.160 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.159 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.158 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.157 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.156 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.155 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.153 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.152 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.151 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.149 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.148 app/mailers/renalware/ukrdc/summary_mailer.rb