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.159 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.158 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.157 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.156 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.155 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.153 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.152 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.151 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.149 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.148 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.147 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.146 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.145 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.144 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.143 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.142 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.141 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.140 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.139 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.138 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb