Class: Renalware::Accesses::PatientPresenter

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
app/presenters/renalware/accesses/patient_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(patient) ⇒ PatientPresenter

Returns a new instance of PatientPresenter.



13
14
15
# File 'app/presenters/renalware/accesses/patient_presenter.rb', line 13

def initialize(patient)
  super(Accesses.cast_patient(patient.__getobj__))
end