Sha256: b8caa4e55102ee3ba9bc549b086236897dee871ee8b321cde95dfe3a3adb60bf

Contents?: true

Size: 475 Bytes

Versions: 107

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

require "month_period"

module Renalware
  module HD
    class GenerateMonthlyStatisticsForPatientJob < ApplicationJob
      queue_with_priority 2
      queue_as :hd_patient_statistics

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

Version data entries

107 entries across 107 versions & 1 rubygems

Version Path
renalware-core-2.0.51 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.50 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.48 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.47 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.46 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.45 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.44 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb