Sha256: a5b31b65923bfdcba8c262f41e858dc4c3657f6670839d96c103f94e8ae1b33f

Contents?: true

Size: 468 Bytes

Versions: 15

Compression:

Stored size: 468 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: "UKRC 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

15 entries across 15 versions & 1 rubygems

Version Path
renalware-core-2.0.71 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.70 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.69 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.68 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.67 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.64 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.63 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.62 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.61 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.60 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.58 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.57 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.56 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.55 app/mailers/renalware/ukrdc/summary_mailer.rb
renalware-core-2.0.54 app/mailers/renalware/ukrdc/summary_mailer.rb