Sha256: eb0ec796fcacfd3a3606308cb7fb413148a5f0e24782014cfa6b45c9a0fd90b0
Contents?: true
Size: 591 Bytes
Versions: 19
Compression:
Stored size: 591 Bytes
Contents
module Renalware # Presenter formatting a collection of patients for use behind any MDM Patients listing. class MDMPatientsPresenter include PresenterHelper attr_reader :patients, :view_proc, :page_title, :q def initialize(patients:, view_proc:, page_title:, q:, patient_presenter_class: nil) patient_presenter_class ||= MDMPatientPresenter @view_proc = view_proc @patients = present(patients, patient_presenter_class) @page_title = page_title @q = q end end end
Version data entries
19 entries across 19 versions & 1 rubygems