Sha256: 5ffb38cbec6c1e724667724c82d52c9e9362aa0e3c32ac38a9c6f8fba1a26e3c
Contents?: true
Size: 562 Bytes
Versions: 20
Compression:
Stored size: 562 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
20 entries across 20 versions & 1 rubygems