Sha256: ae0f3676d0d7975afa002dec09001ff6ff5b7c6c0acbb2eb8750d376e861dddc

Contents?: true

Size: 464 Bytes

Versions: 10

Compression:

Stored size: 464 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 = MonthPeriod.new(month: month, year: year)
        GenerateMonthlyStatisticsForPatient.new(patient: patient, period: period).call
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.1.0 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.167 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.166 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.165 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.164 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.163 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.162 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.161 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb
renalware-core-2.0.160 app/jobs/renalware/hd/generate_monthly_statistics_for_patient_job.rb