Sha256: 84d2d35087fa5784dfc4851336a0463d6f4c86e3f9827a17f77cb671da053d7e
Contents?: true
Size: 563 Bytes
Versions: 8
Compression:
Stored size: 563 Bytes
Contents
module Renalware module HD module Sessions class AuditablePatientSessionsInPeriodQuery def initialize(patient:, period:) @patient = patient @period = period end def call patient_sessions_in_period end private attr_reader :patient, :period def patient_sessions_in_period patient.hd_sessions .extending(SessionScopes) .finished .falling_within(period.to_range) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems