Sha256: 0e58c131fa2b76869f36fdbc8cc782960d965188fb55879db9e6a31255a57361

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module HD
    class GenerateMonthlyStatisticsForPatientJob < ApplicationJob
      queue_as :hd_patient_statistics

      # :reek:UtilityFunction
      def perform(patient:, month:, year:)
        period = MonthPeriod.new(month: month, year: year)
        GenerateMonthlyStatisticsForPatient.new(patient: patient, period: period).call
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renalware-core-2.0.21 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.20 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.18 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.17 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb