Class: Renalware::Letters::Part::Prescriptions

Inherits:
DumbDelegator show all
Includes:
PresenterHelper
Defined in:
app/models/renalware/letters/part/prescriptions.rb

Instance Method Summary collapse

Methods included from PresenterHelper

#present

Methods inherited from DumbDelegator

#inspect, #public_send, #send, #try, #try!

Constructor Details

#initialize(patient, _letter, _event = Event::Unknown.new) ⇒ Prescriptions

Returns a new instance of Prescriptions.



11
12
13
14
# File 'app/models/renalware/letters/part/prescriptions.rb', line 11

def initialize(patient, _letter, _event = Event::Unknown.new)
  @patient = patient
  super(prescriptions)
end

Instance Method Details

#to_partial_pathObject



16
17
18
# File 'app/models/renalware/letters/part/prescriptions.rb', line 16

def to_partial_path
  "renalware/letters/parts/prescriptions"
end